1
Fork 0
mirror of https://github.com/Steffo99/twom.git synced 2024-11-21 23:54:26 +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 = {
CreateRoomFAB(
onCreateParamsSelected = processCreate,
)
if (session != null) {
CreateRoomFAB(
onCreateParamsSelected = processCreate,
)
}
},
content = {
if (session == null) {