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:
parent
e4a9d40fa1
commit
427a5b8f44
1 changed files with 5 additions and 3 deletions
|
@ -29,9 +29,11 @@ fun MainScaffold(
|
|||
)
|
||||
},
|
||||
floatingActionButton = {
|
||||
CreateRoomFAB(
|
||||
onCreateParamsSelected = processCreate,
|
||||
)
|
||||
if (session != null) {
|
||||
CreateRoomFAB(
|
||||
onCreateParamsSelected = processCreate,
|
||||
)
|
||||
}
|
||||
},
|
||||
content = {
|
||||
if (session == null) {
|
||||
|
|
Loading…
Reference in a new issue