Update comment

This commit is contained in:
Benoit Marty 2020-11-18 15:36:05 +01:00
parent 702d21fbc3
commit 57d55e05e7
1 changed files with 2 additions and 1 deletions

View File

@ -96,8 +96,8 @@ class CreateRoomController @Inject constructor(private val stringProvider: Strin
listener?.setIsPublic(value) listener?.setIsPublic(value)
} }
} }
// Room alias
if (viewState.roomType is CreateRoomViewState.RoomType.Public) { if (viewState.roomType is CreateRoomViewState.RoomType.Public) {
// Room alias for public room
roomAliasEditItem { roomAliasEditItem {
id("alias") id("alias")
enabled(enableFormElement) enabled(enableFormElement)
@ -117,6 +117,7 @@ class CreateRoomController @Inject constructor(private val stringProvider: Strin
} }
} }
} else { } else {
// Room encryption for private room
formSwitchItem { formSwitchItem {
id("encryption") id("encryption")
enabled(enableFormElement) enabled(enableFormElement)