onLogoutClick is niet meer nodig
This commit is contained in:
parent
1bb359374c
commit
199b4c2f6f
1 changed files with 0 additions and 7 deletions
|
@ -18,11 +18,4 @@ class HomeViewModel @Inject constructor(
|
||||||
fun onStartSessionClick(openAndPopUp: (String) -> Unit) {
|
fun onStartSessionClick(openAndPopUp: (String) -> Unit) {
|
||||||
openAndPopUp(StudeezDestinations.SESSION_SCREEN)
|
openAndPopUp(StudeezDestinations.SESSION_SCREEN)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun onLogoutClick(openAndPopup: (String, String) -> Unit) {
|
|
||||||
launchCatching {
|
|
||||||
accountDAO.signOut()
|
|
||||||
openAndPopup(LOGIN_SCREEN, HOME_SCREEN)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
Reference in a new issue