Skip to content

Commit

Permalink
android: force save the language before restart
Browse files Browse the repository at this point in the history
Signed-off-by: ioanachelaru <[email protected]>
  • Loading branch information
ioanachelaru authored and adisuciu committed Apr 5, 2022
1 parent fc85100 commit e560113
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/preferences.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,9 @@ Preferences::Preferences(QWidget *parent) :
} else {
language = lang;
if (m_initialized) {
#ifdef __ANDROID__
forceSavePreferences();
#endif
requestRestart();
}

Expand Down

0 comments on commit e560113

Please sign in to comment.