Skip to content

Commit

Permalink
Fix crash on setup
Browse files Browse the repository at this point in the history
  • Loading branch information
FauconSpartiate committed Feb 21, 2023
1 parent cedc7c3 commit ec7387b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Misc/setup_manager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class SetupManager {

if (getPreference<String>("school_system") == "lux") {
setPreference<String>("validated_lux_system", getPreference<String>("lux_system"));
setPreference<String>("validated_year", getPreference<String>("year"));
setPreference<int>("validated_year", getPreference<int>("year"));

if (!hasSections()) {
setPreference<String>("section", defaultValues["section"]);
Expand Down

0 comments on commit ec7387b

Please sign in to comment.