mirror of
https://github.com/Steffo99/twom.git
synced 2024-11-29 03:24:24 +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 = {
|
floatingActionButton = {
|
||||||
|
if (session != null) {
|
||||||
CreateRoomFAB(
|
CreateRoomFAB(
|
||||||
onCreateParamsSelected = processCreate,
|
onCreateParamsSelected = processCreate,
|
||||||
)
|
)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
content = {
|
content = {
|
||||||
if (session == null) {
|
if (session == null) {
|
||||||
|
|
Loading…
Reference in a new issue