From 35dce75fd1b2bad6eeba00edcedecaae234ea21b Mon Sep 17 00:00:00 2001 From: ganfra Date: Mon, 23 Oct 2023 10:34:49 +0200 Subject: [PATCH] PIN : fix warning --- .../features/lockscreen/impl/components/PinEntryTextField.kt | 2 +- .../android/features/lockscreen/impl/unlock/numpad/PinKeypad.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/components/PinEntryTextField.kt b/features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/components/PinEntryTextField.kt index 5682e594fe..e4b6e6ac47 100644 --- a/features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/components/PinEntryTextField.kt +++ b/features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/components/PinEntryTextField.kt @@ -106,7 +106,7 @@ private fun PinDigitView( @PreviewsDayNight @Composable -fun PinEntryTextFieldPreview() { +internal fun PinEntryTextFieldPreview() { ElementTheme { PinEntryTextField( pinEntry = PinEntry.empty(4).fillWith("12"), diff --git a/features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/unlock/numpad/PinKeypad.kt b/features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/unlock/numpad/PinKeypad.kt index 8a6230c725..46b9ca1b82 100644 --- a/features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/unlock/numpad/PinKeypad.kt +++ b/features/lockscreen/impl/src/main/kotlin/io/element/android/features/lockscreen/impl/unlock/numpad/PinKeypad.kt @@ -199,7 +199,7 @@ private fun PinKeypadBackButton( @Composable @PreviewsDayNight -fun PinKeypadPreview() { +internal fun PinKeypadPreview() { ElementPreview { BoxWithConstraints { PinKeypad(