Skip to content

Commit 0cbc44d

Browse files
committed
Revert "chore : lint fix"
This reverts commit 5992033.
1 parent 5992033 commit 0cbc44d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

app/src/main/java/fr/free/nrw/commons/settings/SettingsActivity.kt

+13
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,19 @@ class SettingsActivity : BaseActivity() {
2727
supportActionBar?.setDisplayHomeAsUpEnabled(true)
2828
}
2929

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+
3043
override fun onSupportNavigateUp(): Boolean {
3144
onBackPressed()
3245
return true

0 commit comments

Comments
 (0)