openAndPopUp function as argument for prim. screen

This commit is contained in:
lbarraga 2023-04-14 00:00:16 +02:00
parent 4e9aab73c2
commit 71a42a28e2

View file

@ -16,7 +16,7 @@ fun HomeScreen(
) {
PrimaryScreenTemplate(
title = resources().getString(R.string.home),
onLogoutClick = { viewModel.onLogoutClick(openAndPopUp) }
openAndPopUp = openAndPopUp
) {
BasicButton(R.string.start_session, Modifier.basicButton()) {
viewModel.onStartSessionClick(openAndPopUp)