mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 13:38:49 +03:00
manually handling the back event as a take me home action
This commit is contained in:
parent
3a961e0803
commit
d186de7472
1 changed files with 5 additions and 0 deletions
|
@ -48,4 +48,9 @@ class FtueAuthAccountCreatedFragment @Inject constructor(
|
|||
override fun resetViewModel() {
|
||||
// Nothing to do
|
||||
}
|
||||
|
||||
override fun onBackPressed(toolbarButton: Boolean): Boolean {
|
||||
viewModel.handle(OnboardingAction.TakeMeHome)
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue