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())
}
private val targetPopToHomeList = arrayListOf<Int>()
private var targetHomeId: Int = -1
@SuppressLint("MissingSuperCall")
@Deprecated("Deprecated in Java")
override fun onBackPressed() {
if (App.config.ui.openDrawerOnBackPressed) {