Skip to content

Commit

Permalink
set language returned by session model on mobile (#1014)
Browse files Browse the repository at this point in the history
  • Loading branch information
atavism authored Mar 12, 2024
1 parent b7abbb4 commit 6a035dc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,7 @@ class _LanternAppState extends State<LanternApp> {
}
return sessionModel.language(
(context, lang, child) {
if (isDesktop()) {
Localization.locale = lang;
}

Localization.locale = lang;
return GlobalLoaderOverlay(
overlayColor: Colors.black,
overlayOpacity: 0.6,
Expand Down

0 comments on commit 6a035dc

Please sign in to comment.