Skip to content

Commit

Permalink
bug correction: forgotten ;
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkbee1 committed Mar 2, 2024
1 parent 833e47e commit 7bfb7ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/lang/cubit/lang_cubit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ class LangCubit extends Cubit<LangState> {
} else {
await recordLanguage(locale.languageCode);
newLocale = locale;
newlanguageType = getLanguageType(locale.languageCode, newlanguageType)
newlanguageType = getLanguageType(locale.languageCode, newlanguageType);
}
if (AppLocalizations.supportedLocales
.contains(Locale(newLocale.languageCode))) {
emit(LangState(languageType: newlanguageType, locale: newLocale));
}
}
}
}

0 comments on commit 7bfb7ad

Please sign in to comment.