Merge branch 'language_fix' into 'master'

Let settings activity title be translated

See merge request pixeldroid/PixelDroid!444
This commit is contained in:
Matthieu 2022-07-10 13:39:08 +00:00
commit 83a7c7710e
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ class SettingsActivity : BaseThemedWithBarActivity(), SharedPreferences.OnShared
.replace(R.id.settings, SettingsFragment()) .replace(R.id.settings, SettingsFragment())
.commit() .commit()
supportActionBar?.setDisplayHomeAsUpEnabled(true) supportActionBar?.setDisplayHomeAsUpEnabled(true)
supportActionBar?.setTitle(R.string.menu_settings)
restartMainOnExit = intent.getBooleanExtra("restartMain", false) restartMainOnExit = intent.getBooleanExtra("restartMain", false)
} }