update migration behavior slightly (#1364)
Matthew Fosse committed
Apr 5, 2024 at 09:11 UTC
dbb62ef5c0cac9bc1af6fa88594e533ac907de3e
1 file changed
+1
-1
lib/entities/default_settings_migration.dart
+1
-1
@@ -237,7 +237,7 @@ Future<void> disableServiceStatusFiatDisabled(SharedPreferences sharedPreference
237
return;
238
}
239
240
- if (currentFiat == FiatApiMode.disabled.raw) {
240
+ if (currentFiat == FiatApiMode.disabled.raw || currentFiat == FiatApiMode.torOnly.raw) {
241
await sharedPreferences.setBool(PreferencesKey.disableBulletinKey, true);
242
}
243
}