We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5992033 commit 0cbc44dCopy full SHA for 0cbc44d
app/src/main/java/fr/free/nrw/commons/settings/SettingsActivity.kt
@@ -27,6 +27,19 @@ class SettingsActivity : BaseActivity() {
27
supportActionBar?.setDisplayHomeAsUpEnabled(true)
28
}
29
30
+ // Get an action bar
31
+ /**
32
+ * takes care of actions taken after the creation has happened
33
+ * @param savedInstanceState the saved state
34
+ */
35
+ override fun onPostCreate(savedInstanceState: Bundle?) {
36
+ super.onPostCreate(savedInstanceState)
37
+// if (settingsDelegate == null) {
38
+// settingsDelegate = AppCompatDelegate.create(this, null)
39
+// }
40
+// settingsDelegate?.onPostCreate(savedInstanceState)
41
+ }
42
+
43
override fun onSupportNavigateUp(): Boolean {
44
onBackPressed()
45
return true
0 commit comments