diff --git a/common/src/commonMain/kotlin/com/artemchep/keyguard/feature/home/vault/screen/VaultViewStateProducer.kt b/common/src/commonMain/kotlin/com/artemchep/keyguard/feature/home/vault/screen/VaultViewStateProducer.kt index c8be340d..4ff36a98 100644 --- a/common/src/commonMain/kotlin/com/artemchep/keyguard/feature/home/vault/screen/VaultViewStateProducer.kt +++ b/common/src/commonMain/kotlin/com/artemchep/keyguard/feature/home/vault/screen/VaultViewStateProducer.kt @@ -1015,6 +1015,10 @@ private fun RememberStateFlowScope.oh( title = translate(Res.string.private_key), value = sshKey.privateKey, verify = verify.takeIf { concealFields }, + // Private key might be too long to show if you + // select a 4096-bit RSA. There's no point in + // torturing the device rendering that string. + maxLines = 24, monospace = true, colorize = true, elevated = true,