Skip to content

Commit

Permalink
Load Student Card Preference on Startup
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobkoerber committed Dec 10, 2024
1 parent a188aaf commit d16a995
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/settingsComponent/viewModels/settings_viewmodel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ class SettingsViewModel {
Appearance.values[value as int];
case UserPreference.browser:
ref.read(useWebView.notifier).state = value as bool;
case UserPreference.studentCardPicture:
ref.read(showStudentCardPicture.notifier).state = value as bool;
case UserPreference.failedGrades:
ref.read(hideFailedGrades.notifier).state = value as bool;
case UserPreference.weekends:
Expand Down

0 comments on commit d16a995

Please sign in to comment.