Skip to content

Commit 3179277

Browse files
authored
change default sync status display mode (#2784)
1 parent 5bfc2d8 commit 3179277

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/store/settings_store.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ abstract class SettingsStoreBase with Store {
10681068
final showAddressBookPopupEnabled =
10691069
sharedPreferences.getBool(PreferencesKey.showAddressBookPopupEnabled) ?? true;
10701070
final syncStatusDisplayMode = SyncStatusDisplayModeExtension.fromString(
1071-
sharedPreferences.getString(PreferencesKey.syncStatusDisplayMode) ?? SyncStatusDisplayMode.eta.name);
1071+
sharedPreferences.getString(PreferencesKey.syncStatusDisplayMode) ?? SyncStatusDisplayMode.blocksRemaining.name);
10721072
final exchangeStatus = ExchangeApiMode.deserialize(
10731073
raw: sharedPreferences.getInt(PreferencesKey.exchangeStatusKey) ??
10741074
ExchangeApiMode.enabled.raw);
@@ -1595,7 +1595,7 @@ abstract class SettingsStoreBase with Store {
15951595
sharedPreferences.getBool(PreferencesKey.showAddressBookPopupEnabled) ??
15961596
showAddressBookPopupEnabled;
15971597
syncStatusDisplayMode = SyncStatusDisplayModeExtension.fromString(
1598-
sharedPreferences.getString(PreferencesKey.syncStatusDisplayMode) ?? SyncStatusDisplayMode.eta.name);
1598+
sharedPreferences.getString(PreferencesKey.syncStatusDisplayMode) ?? SyncStatusDisplayMode.blocksRemaining.name);
15991599
exchangeStatus = ExchangeApiMode.deserialize(
16001600
raw: sharedPreferences.getInt(PreferencesKey.exchangeStatusKey) ??
16011601
ExchangeApiMode.enabled.raw);

0 commit comments

Comments
 (0)