diff --git a/frontend/app_flowy/lib/workspace/application/appearance.dart b/frontend/app_flowy/lib/workspace/application/appearance.dart index 77f3ec567a..266ab1a5c5 100644 --- a/frontend/app_flowy/lib/workspace/application/appearance.dart +++ b/frontend/app_flowy/lib/workspace/application/appearance.dart @@ -47,10 +47,10 @@ class AppearanceSettingModel extends ChangeNotifier with EquatableMixin { void setLocale(BuildContext context, Locale newLocale) { if (_locale != newLocale) { - if (context.supportedLocales.contains(newLocale)) { + if (!context.supportedLocales.contains(newLocale)) { Log.error("Unsupported locale: $newLocale"); newLocale = const Locale('en'); - Log.debug("Fall back to locale: $newLocale"); + Log.debug("Fallback to locale: $newLocale"); } context.setLocale(newLocale);