Code readability
This commit is contained in:
parent
d531e88666
commit
025d5f7b4c
|
@ -104,8 +104,11 @@ class CreateRoomController @Inject constructor(private val stringProvider: Strin
|
||||||
enabled(enableFormElement)
|
enabled(enableFormElement)
|
||||||
title(stringProvider.getString(R.string.create_room_encryption_title))
|
title(stringProvider.getString(R.string.create_room_encryption_title))
|
||||||
summary(
|
summary(
|
||||||
if (viewState.hsAdminHasDisabledE2E) stringProvider.getString(R.string.settings_hs_admin_e2e_disabled)
|
if (viewState.hsAdminHasDisabledE2E) {
|
||||||
else stringProvider.getString(R.string.create_room_encryption_description)
|
stringProvider.getString(R.string.settings_hs_admin_e2e_disabled)
|
||||||
|
} else {
|
||||||
|
stringProvider.getString(R.string.create_room_encryption_description)
|
||||||
|
}
|
||||||
)
|
)
|
||||||
switchChecked(viewState.isEncrypted)
|
switchChecked(viewState.isEncrypted)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue