From 1927b066d871ceb0b9de6b6e3a3969900fc43f32 Mon Sep 17 00:00:00 2001 From: Artem Chepurnoy Date: Tue, 19 Nov 2024 15:26:10 +0200 Subject: [PATCH] improvement: Limit the max lines of generic fields to 64 --- .../feature/home/vault/screen/VaultViewStateProducer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 4ff36a98..f17313de 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 @@ -2742,7 +2742,7 @@ suspend fun RememberStateFlowScope.create( leading: (@Composable RowScope.() -> Unit)? = null, verify: ((() -> Unit) -> Unit)? = null, onBuildActions: (ContextItemBuilder.() -> Unit)? = null, - maxLines: Int = Int.MAX_VALUE, + maxLines: Int = 64, password: Boolean = false, username: Boolean = false, private: Boolean = false,