Commit 885786e7 authored by Mygod's avatar Mygod

Fix back navigation for ProfileConfigActivity

parent 73144bb4
......@@ -47,6 +47,11 @@ class ProfileConfigActivity : AppCompatActivity() {
}
}
override fun onSupportNavigateUp(): Boolean {
if (!super.onSupportNavigateUp()) finish()
return true
}
override fun onCreateOptionsMenu(menu: Menu?): Boolean {
menuInflater.inflate(R.menu.profile_config_menu, menu)
return true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment