1
Fork 0
mirror of https://github.com/Steffo99/twom.git synced 2024-11-25 17:44:24 +00:00

Do not show CreateRoomFAB if not logged in

This commit is contained in:
Steffo 2024-01-17 11:45:20 +01:00
parent e4a9d40fa1
commit 427a5b8f44
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -29,9 +29,11 @@ fun MainScaffold(
) )
}, },
floatingActionButton = { floatingActionButton = {
if (session != null) {
CreateRoomFAB( CreateRoomFAB(
onCreateParamsSelected = processCreate, onCreateParamsSelected = processCreate,
) )
}
}, },
content = { content = {
if (session == null) { if (session == null) {