Fix / string bad argument number - lint

This commit is contained in:
Valere 2020-04-10 13:14:12 +02:00
parent fccfd00949
commit 943ba3bebd
1 changed files with 3 additions and 3 deletions

View File

@ -48,10 +48,10 @@ class VerificationQrScannedByOtherController @Inject constructor(
id("notice")
apply {
if (state.isMe) {
val name = state.otherUserMxItem?.getBestName() ?: ""
notice(stringProvider.getString(R.string.qr_code_scanned_self_verif_notice, name))
notice(stringProvider.getString(R.string.qr_code_scanned_self_verif_notice))
} 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))
}
}
}