Skip to content

Commit

Permalink
Update locale after resetting preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesiek2010 committed Dec 21, 2017
1 parent 3ace6b3 commit eebcb6f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ private void resetPreferences() {

boolean deletedSettingsFile = !new File(Collect.ODK_ROOT + "/collect.settings").exists()
|| (new File(Collect.ODK_ROOT + "/collect.settings").delete());

new LocaleHelper().updateLocale(Collect.getInstance());

if (deletedSettingsFolderContest && deletedSettingsFile) {
failedResetActions.remove(failedResetActions.indexOf(ResetAction.RESET_PREFERENCES));
Expand Down

0 comments on commit eebcb6f

Please sign in to comment.