Fix / string bad argument number - lint
This commit is contained in:
parent
fccfd00949
commit
943ba3bebd
|
@ -48,10 +48,10 @@ class VerificationQrScannedByOtherController @Inject constructor(
|
||||||
id("notice")
|
id("notice")
|
||||||
apply {
|
apply {
|
||||||
if (state.isMe) {
|
if (state.isMe) {
|
||||||
val name = state.otherUserMxItem?.getBestName() ?: ""
|
notice(stringProvider.getString(R.string.qr_code_scanned_self_verif_notice))
|
||||||
notice(stringProvider.getString(R.string.qr_code_scanned_self_verif_notice, name))
|
|
||||||
} else {
|
} else {
|
||||||
notice(stringProvider.getString(R.string.qr_code_scanned_by_other_notice))
|
val name = state.otherUserMxItem?.getBestName() ?: ""
|
||||||
|
notice(stringProvider.getString(R.string.qr_code_scanned_by_other_notice, name))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue