From 73acb1bce83f11f37ecda412079a2f3d24aa03b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caner=20T=C3=BCre?= Date: Fri, 14 Jul 2023 14:01:06 +0300 Subject: [PATCH] Update MainActivity.kt --- app/src/main/java/com/canerture/sample/MainActivity.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/canerture/sample/MainActivity.kt b/app/src/main/java/com/canerture/sample/MainActivity.kt index 0ca072f..5e5b018 100644 --- a/app/src/main/java/com/canerture/sample/MainActivity.kt +++ b/app/src/main/java/com/canerture/sample/MainActivity.kt @@ -123,7 +123,7 @@ class MainActivity : ComponentActivity() { color = Color.Black, size = 16.dp ), - onDismiss = { it: String -> + onDismiss = { textPickerShowState = false } ) @@ -163,7 +163,7 @@ class MainActivity : ComponentActivity() { backgroundColor = Color.White ), checkboxColors = CheckboxDefaults.colors(), - onDismiss = { it: List -> + onDismiss = { checkBoxPickerShowState = false } ) @@ -203,7 +203,7 @@ class MainActivity : ComponentActivity() { backgroundColor = Color.White ), radioButtonColors = RadioButtonDefaults.colors(), - onDismiss = { it: String -> + onDismiss = { radioButtonPickerShowState = false } )