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)
}
}
// Room alias
if (viewState.roomType is CreateRoomViewState.RoomType.Public) {
// Room alias for public room
roomAliasEditItem {
id("alias")
enabled(enableFormElement)
@ -117,6 +117,7 @@ class CreateRoomController @Inject constructor(private val stringProvider: Strin
}
}
} else {
// Room encryption for private room
formSwitchItem {
id("encryption")
enabled(enableFormElement)