From 768cdbacc19ee1e7ea5dc1aa83ffaa715411f413 Mon Sep 17 00:00:00 2001 From: Pablo Pajuelo Cabezas Date: Fri, 22 Nov 2024 11:47:49 +0100 Subject: [PATCH] fix ktlint Signed-off-by: Pablo Pajuelo Cabezas --- .../designsystem/InputDropDownSnapshotTest.kt | 20 ++++--------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/designsystem/src/androidUnitTest/kotlin/org/hisp/dhis/mobile/ui/designsystem/InputDropDownSnapshotTest.kt b/designsystem/src/androidUnitTest/kotlin/org/hisp/dhis/mobile/ui/designsystem/InputDropDownSnapshotTest.kt index 687e6e24c..370446660 100644 --- a/designsystem/src/androidUnitTest/kotlin/org/hisp/dhis/mobile/ui/designsystem/InputDropDownSnapshotTest.kt +++ b/designsystem/src/androidUnitTest/kotlin/org/hisp/dhis/mobile/ui/designsystem/InputDropDownSnapshotTest.kt @@ -47,7 +47,7 @@ class InputDropDownSnapshotTest { SubTitle( "Basic Input Dropdown with < 7 inputs", - textColor = TextColor.OnSurfaceVariant + textColor = TextColor.OnSurfaceVariant, ) var selectedItem by remember { mutableStateOf(null) } val focusRequester = remember { FocusRequester() } @@ -67,10 +67,8 @@ class InputDropDownSnapshotTest { sixOptions[index] }, onSearchOption = { - }, loadOptions = { - }, onResetButtonClicked = { selectedItem = null @@ -90,10 +88,8 @@ class InputDropDownSnapshotTest { sixOptions[index] }, onSearchOption = { - }, loadOptions = { - }, onResetButtonClicked = { selectedItem = null @@ -108,7 +104,7 @@ class InputDropDownSnapshotTest { SubTitle( "Basic Input Dropdown with >= 7 inputs", - textColor = TextColor.OnSurfaceVariant + textColor = TextColor.OnSurfaceVariant, ) var selectedItem4 by remember { mutableStateOf(null) } @@ -120,10 +116,8 @@ class InputDropDownSnapshotTest { options[index] }, onSearchOption = { - }, loadOptions = { - }, onResetButtonClicked = { selectedItem4 = null @@ -138,7 +132,7 @@ class InputDropDownSnapshotTest { SubTitle( "Basic Input Dropdown with content ", - textColor = TextColor.OnSurfaceVariant + textColor = TextColor.OnSurfaceVariant, ) var selectedItem1 by remember { mutableStateOf(options[0]) } InputDropDown( @@ -149,10 +143,8 @@ class InputDropDownSnapshotTest { options[index] }, onSearchOption = { - }, loadOptions = { - }, onResetButtonClicked = { selectedItem1 = null @@ -174,10 +166,8 @@ class InputDropDownSnapshotTest { options[index] }, onSearchOption = { - }, loadOptions = { - }, onResetButtonClicked = { selectedItem2 = null @@ -191,7 +181,7 @@ class InputDropDownSnapshotTest { SubTitle( "Disabled Input Dropdown with content ", - textColor = TextColor.OnSurfaceVariant + textColor = TextColor.OnSurfaceVariant, ) var selectedItem3 by remember { mutableStateOf(options[1]) } InputDropDown( @@ -202,10 +192,8 @@ class InputDropDownSnapshotTest { options[index] }, onSearchOption = { - }, loadOptions = { - }, onResetButtonClicked = { selectedItem3 = null