fixed activity recreation loop

This commit is contained in:
X1nto 2020-05-25 23:24:42 +04:00
parent a4a1e45872
commit 2528d5bfe4
1 changed files with 0 additions and 5 deletions

View File

@ -42,11 +42,6 @@ class MainActivity : Main() {
}
override fun onResume() {
super.onResume()
recreate()
}
override fun onOptionsItemSelected(item: MenuItem): Boolean {
val navHost = findNavController(R.id.bottom_nav_host)
val prefs = PreferenceManager.getDefaultSharedPreferences(this)