Split long line
This commit is contained in:
parent
4642299572
commit
e03c806fd8
|
@ -199,12 +199,16 @@ class KeysBackupSettingsRecyclerViewController @Inject constructor(
|
||||||
val deviceId: String = it.deviceId ?: ""
|
val deviceId: String = it.deviceId ?: ""
|
||||||
|
|
||||||
if (!isDeviceKnown) {
|
if (!isDeviceKnown) {
|
||||||
description(host.stringProvider.getString(R.string.keys_backup_settings_signature_from_unknown_device, deviceId).toEpoxyCharSequence())
|
description(host.stringProvider
|
||||||
|
.getString(R.string.keys_backup_settings_signature_from_unknown_device, deviceId)
|
||||||
|
.toEpoxyCharSequence())
|
||||||
endIconResourceId(R.drawable.e2e_warning)
|
endIconResourceId(R.drawable.e2e_warning)
|
||||||
} else {
|
} else {
|
||||||
if (isSignatureValid) {
|
if (isSignatureValid) {
|
||||||
if (host.session.sessionParams.deviceId == it.deviceId) {
|
if (host.session.sessionParams.deviceId == it.deviceId) {
|
||||||
description(host.stringProvider.getString(R.string.keys_backup_settings_valid_signature_from_this_device).toEpoxyCharSequence())
|
description(host.stringProvider
|
||||||
|
.getString(R.string.keys_backup_settings_valid_signature_from_this_device)
|
||||||
|
.toEpoxyCharSequence())
|
||||||
endIconResourceId(R.drawable.e2e_verified)
|
endIconResourceId(R.drawable.e2e_verified)
|
||||||
} else {
|
} else {
|
||||||
if (isDeviceVerified) {
|
if (isDeviceVerified) {
|
||||||
|
|
Loading…
Reference in New Issue