From 5f075b945e68af763791ac8bcf0ea38a062f910b Mon Sep 17 00:00:00 2001 From: Sean Proctor Date: Sat, 14 Jan 2023 07:19:24 -0500 Subject: [PATCH] run spotlessApply --- .../android/colorpicker/ColorPreviewInfo.kt | 9 ++++++++- .../jvmMain/kotlin/HarmonyColorPickerScreen.kt | 15 +++++++++++++-- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/godaddy/android/colorpicker/ColorPreviewInfo.kt b/app/src/main/java/com/godaddy/android/colorpicker/ColorPreviewInfo.kt index cdb220a..b25db00 100644 --- a/app/src/main/java/com/godaddy/android/colorpicker/ColorPreviewInfo.kt +++ b/app/src/main/java/com/godaddy/android/colorpicker/ColorPreviewInfo.kt @@ -2,7 +2,14 @@ package com.godaddy.android.colorpicker import androidx.compose.foundation.Canvas import androidx.compose.foundation.background -import androidx.compose.foundation.layout.* +import androidx.compose.foundation.layout.Arrangement +import androidx.compose.foundation.layout.Column +import androidx.compose.foundation.layout.PaddingValues +import androidx.compose.foundation.layout.Spacer +import androidx.compose.foundation.layout.fillMaxWidth +import androidx.compose.foundation.layout.height +import androidx.compose.foundation.layout.padding +import androidx.compose.foundation.layout.size import androidx.compose.foundation.lazy.grid.GridCells import androidx.compose.foundation.lazy.grid.LazyVerticalGrid import androidx.compose.foundation.lazy.grid.items diff --git a/desktop/src/jvmMain/kotlin/HarmonyColorPickerScreen.kt b/desktop/src/jvmMain/kotlin/HarmonyColorPickerScreen.kt index e1477bf..ab4bf59 100644 --- a/desktop/src/jvmMain/kotlin/HarmonyColorPickerScreen.kt +++ b/desktop/src/jvmMain/kotlin/HarmonyColorPickerScreen.kt @@ -1,5 +1,12 @@ import androidx.compose.foundation.Canvas -import androidx.compose.foundation.layout.* +import androidx.compose.foundation.layout.Arrangement +import androidx.compose.foundation.layout.Column +import androidx.compose.foundation.layout.PaddingValues +import androidx.compose.foundation.layout.defaultMinSize +import androidx.compose.foundation.layout.fillMaxWidth +import androidx.compose.foundation.layout.padding +import androidx.compose.foundation.layout.size +import androidx.compose.foundation.layout.wrapContentHeight import androidx.compose.foundation.lazy.grid.GridCells import androidx.compose.foundation.lazy.grid.LazyVerticalGrid import androidx.compose.foundation.lazy.grid.items @@ -7,7 +14,11 @@ import androidx.compose.material.DropdownMenu import androidx.compose.material.DropdownMenuItem import androidx.compose.material.Text import androidx.compose.material.TextButton -import androidx.compose.runtime.* +import androidx.compose.runtime.Composable +import androidx.compose.runtime.getValue +import androidx.compose.runtime.mutableStateOf +import androidx.compose.runtime.remember +import androidx.compose.runtime.setValue import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color import androidx.compose.ui.unit.dp