mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-01 19:49:54 +02:00
mobile: fix loading locales in release
This commit is contained in:
committed by
Abdullah Atta
parent
5d05df7f83
commit
30dd0e8657
@@ -22,7 +22,7 @@ import {
|
||||
import Config from "react-native-config";
|
||||
|
||||
i18n.load({
|
||||
en: !__DEV__ && Config.isTesting !== "true" ? $pseudo : $en
|
||||
en: __DEV__ && Config.isTesting !== "true" ? $pseudo : $en
|
||||
});
|
||||
setI18nGlobal(i18n);
|
||||
i18n.activate("en");
|
||||
|
||||
Reference in New Issue
Block a user