mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-24 10:54:36 -06:00
fix: "Back button opens drawer" (redundant super call)
This commit is contained in:
parent
d9f3c37d9f
commit
317100ff9c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user