mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-22 17:35:54 +03:00
No encryption for public room (#1314)
This commit is contained in:
parent
0c7f4c2af5
commit
702d21fbc3
1 changed files with 16 additions and 15 deletions
|
@ -116,7 +116,7 @@ class CreateRoomController @Inject constructor(private val stringProvider: Strin
|
|||
listener?.setAliasLocalPart(value)
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
formSwitchItem {
|
||||
id("encryption")
|
||||
enabled(enableFormElement)
|
||||
|
@ -134,6 +134,7 @@ class CreateRoomController @Inject constructor(private val stringProvider: Strin
|
|||
listener?.setIsEncrypted(value)
|
||||
}
|
||||
}
|
||||
}
|
||||
formAdvancedToggleItem {
|
||||
id("showAdvanced")
|
||||
title(stringProvider.getString(if (viewState.showAdvanced) R.string.hide_advanced else R.string.show_advanced))
|
||||
|
|
Loading…
Reference in a new issue