0
0
mirror of https://github.com/mediathekview/zapp.git synced 2024-09-20 04:12:14 +02:00

Fix back button not working upon app start

This commit is contained in:
Christine Coenen 2023-08-20 18:12:27 +02:00
parent d855611d8d
commit f1c8e1023b

View File

@ -103,6 +103,7 @@ class MainActivity : AppCompatActivity(), MenuProvider {
binding.bottomNavigation.setupWithNavController(navController)
onSearchViewPressedCallback.isEnabled = false
onBackPressedDispatcher.addCallback(this, onSearchViewPressedCallback)
binding.searchView.let {