fix: "Back button opens drawer" (redundant super call)

This commit is contained in:
Franek 2024-06-13 22:58:47 +02:00 committed by Kuba Szczodrzyński
parent d9f3c37d9f
commit 317100ff9c

View File

@ -1191,8 +1191,7 @@ class MainActivity : AppCompatActivity(), CoroutineScope {
drawer.addProfileSettings(*drawerProfiles.toTypedArray()) drawer.addProfileSettings(*drawerProfiles.toTypedArray())
} }
private val targetPopToHomeList = arrayListOf<Int>() @SuppressLint("MissingSuperCall")
private var targetHomeId: Int = -1
@Deprecated("Deprecated in Java") @Deprecated("Deprecated in Java")
override fun onBackPressed() { override fun onBackPressed() {
if (App.config.ui.openDrawerOnBackPressed) { if (App.config.ui.openDrawerOnBackPressed) {