Skip to content

Commit

Permalink
style: spotlessApply
Browse files Browse the repository at this point in the history
  • Loading branch information
ch4rl3x committed Nov 19, 2023
1 parent 51ced5f commit bda880c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import androidx.compose.runtime.getValue
import androidx.compose.runtime.rememberUpdatedState
import androidx.compose.ui.graphics.Color


@Immutable
class TextFieldColors constructor(
val focusedTextColor: Color,
Expand Down Expand Up @@ -156,4 +155,4 @@ class TextFieldColors constructor(
result = 31 * result + errorLabelColor.hashCode()
return result
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@ import androidx.compose.runtime.Composable
import androidx.compose.runtime.Immutable
import androidx.compose.ui.graphics.Color


@Immutable
object TextFieldDefaults {
@Composable
fun colors(
focusedTextColor: Color = MaterialTheme.colorScheme.onSurface,
unfocusedTextColor: Color = MaterialTheme.colorScheme.onSurface,
disabledTextColor: Color = MaterialTheme.colorScheme.onSurface
disabledTextColor: Color = MaterialTheme.colorScheme.onSurface
.copy(alpha = 0.38f),
errorTextColor: Color = MaterialTheme.colorScheme.onSurface,
cursorColor: Color = MaterialTheme.colorScheme.primary,
Expand Down Expand Up @@ -53,4 +52,4 @@ object TextFieldDefaults {
disabledLabelColor = disabledLabelColor,
errorLabelColor = errorLabelColor
)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ import kotlin.Int
import kotlin.Long
import kotlin.String


@OptIn(ExperimentalMaterial3Api::class)
@Suppress("UNCHECKED_CAST")
@Composable
Expand Down

0 comments on commit bda880c

Please sign in to comment.