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