mirror of
https://github.com/wgtunnel/android.git
synced 2026-06-02 08:33:40 +02:00
fix: back gesture issues on some devices
This commit is contained in:
@@ -360,13 +360,6 @@ class MainActivity : AppCompatActivity() {
|
||||
}
|
||||
}
|
||||
}
|
||||
BackHandler {
|
||||
if (navController.currentDestination?.route != Route.Main::class.qualifiedName) {
|
||||
navController.popBackStack()
|
||||
} else {
|
||||
this@MainActivity.finish()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user