Fix moment locale selection in release builds

parent f2f6d9e5
Pipeline #12367 passed with stage
in 0 seconds
......@@ -106,8 +106,8 @@ android {
applicationId "com.thaliapp"
minSdkVersion 19
targetSdkVersion 22
versionCode 421
versionName "2.3.0"
versionCode 422
versionName "2.3.1"
ndk {
abiFilters "armeabi-v7a", "x86"
}
......
......@@ -56,7 +56,7 @@ class Main extends Component {
constructor() {
super();
if (locale.startsWith('nl')) {
Moment.locale(locale);
Moment.locale('nl');
} else {
Moment.locale('en');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment