Skip to content

Commit b567fc5

Browse files
committed
remove commented code
1 parent 68d4ac3 commit b567fc5

File tree

1 file changed

+0
-49
lines changed

1 file changed

+0
-49
lines changed

vector/src/main/java/im/vector/app/features/roomprofile/settings/RoomSettingsController.kt

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -145,54 +145,5 @@ class RoomSettingsController @Inject constructor(
145145
id("guestAccessDivider")
146146
}
147147
}
148-
//
149-
// // Security
150-
// buildProfileSection(stringProvider.getString(R.string.room_profile_section_security))
151-
152-
// data.globalCryptoConfig.invoke()?.let { globalConfig ->
153-
// if (globalConfig.globalBlockUnverifiedDevices) {
154-
// genericFooterItem {
155-
// id("globalConfig")
156-
// centered(false)
157-
// text(
158-
// span {
159-
// +host.stringProvider.getString(R.string.room_settings_global_block_unverified_info_text)
160-
// apply {
161-
// if (data.unverifiedDevicesInTheRoom.invoke() == true) {
162-
// +"\n"
163-
// +host.stringProvider.getString(R.string.some_devices_will_not_be_able_to_decrypt)
164-
// }
165-
// }
166-
// }.toEpoxyCharSequence()
167-
// )
168-
// itemClickAction {
169-
// host.callback?.openGlobalBlockSettings()
170-
// }
171-
// }
172-
// } else {
173-
// // per room setting is available
174-
// val shouldBlockUnverified = data.encryptToVerifiedDeviceOnly.invoke()
175-
// formSwitchItem {
176-
// id("send_to_unverified")
177-
// enabled(shouldBlockUnverified != null)
178-
// title(host.stringProvider.getString(R.string.encryption_never_send_to_unverified_devices_in_room))
179-
//
180-
// switchChecked(shouldBlockUnverified ?: false)
181-
//
182-
// apply {
183-
// if (shouldBlockUnverified == true && data.unverifiedDevicesInTheRoom.invoke() == true) {
184-
// summary(
185-
// host.stringProvider.getString(R.string.some_devices_will_not_be_able_to_decrypt)
186-
// )
187-
// } else {
188-
// summary(null)
189-
// }
190-
// }
191-
// listener { value ->
192-
// host.callback?.setEncryptedToVerifiedDevicesOnly(value)
193-
// }
194-
// }
195-
// }
196-
// }
197148
}
198149
}

0 commit comments

Comments
 (0)