Skip to content

Commit

Permalink
Merge pull request #14 from Swatian/improvements
Browse files Browse the repository at this point in the history
Fix crash on start
  • Loading branch information
mmarif4u authored Sep 10, 2024
2 parents b17ee4a + b62a80d commit 70b44a6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId "com.swatian.nexnotes"
minSdk 27
targetSdk 34
versionCode 15
versionName "1.5"
versionCode 16
versionName "1.6"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public void onCreate(Bundle savedInstanceState) {

if (locale[0].equals("0")) {
Utils.setAppLocale(
ctx.getResources().getConfiguration().getLocales().get(1).getLanguage());
ctx.getResources().getConfiguration().getLocales().get(0).getLanguage());
} else {
Utils.setAppLocale(locale[1]);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
1.5
1.6

- New languages with translation updates
- Other fixes
Expand Down

0 comments on commit 70b44a6

Please sign in to comment.