mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-17 12:30:07 +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…
Add table
Reference in a new issue