onLogoutClick is niet meer nodig

This commit is contained in:
lbarraga 2023-04-17 17:20:10 +02:00
parent 1bb359374c
commit 199b4c2f6f

View file

@ -18,11 +18,4 @@ class HomeViewModel @Inject constructor(
fun onStartSessionClick(openAndPopUp: (String) -> Unit) {
openAndPopUp(StudeezDestinations.SESSION_SCREEN)
}
fun onLogoutClick(openAndPopup: (String, String) -> Unit) {
launchCatching {
accountDAO.signOut()
openAndPopup(LOGIN_SCREEN, HOME_SCREEN)
}
}
}