Skip to content

Commit

Permalink
fixes Beállítások nem mentődnek el #53
Browse files Browse the repository at this point in the history
  • Loading branch information
RedyAu committed Jan 16, 2024
1 parent 542615f commit a73d4e9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/settings_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,7 @@ class SettingsProvider extends ChangeNotifier {
_searchNumericKeyboard = prefs.getBool('searchNumericKeyboard') ??
defaultSearchNumericKeyboard;
_selectedCue = prefs.getString('selectedCue') ?? selectedCue;
_cueStore = jsonDecode(
prefs.getString('setStore') ?? jsonDecode(defaultCueStore));
_cueStore = jsonDecode(prefs.getString('setStore') ?? defaultCueStore);
if (!cueStore.containsKey(_selectedCue)) {
_selectedCue = defaultSelectedCue;
}
Expand Down

0 comments on commit a73d4e9

Please sign in to comment.