diff --git a/app/src/main/java/eu/steffo/twom/composables/main/MainScaffold.kt b/app/src/main/java/eu/steffo/twom/composables/main/MainScaffold.kt index 3a05a1d..0952867 100644 --- a/app/src/main/java/eu/steffo/twom/composables/main/MainScaffold.kt +++ b/app/src/main/java/eu/steffo/twom/composables/main/MainScaffold.kt @@ -29,9 +29,11 @@ fun MainScaffold( ) }, floatingActionButton = { - CreateRoomFAB( - onCreateParamsSelected = processCreate, - ) + if (session != null) { + CreateRoomFAB( + onCreateParamsSelected = processCreate, + ) + } }, content = { if (session == null) {