Skip to content

Commit

Permalink
🔀 Rename textStyle -> defaultTextStyle (#309)
Browse files Browse the repository at this point in the history
* Update standalone bundled Inter font to 4.0

* Rename textStyle -> defaultTextStyle

This makes the extension function on JewelTheme clearer in its intent of
accessing the default TextStyle from the composition locals.

The former defaultTextStyle has been transformed to a function, which is
also making clearer it's a creation and not a field access. It has
contextually been renamed to createDefaultTextStyle().
  • Loading branch information
rock3r authored Feb 21, 2024
1 parent 64cb74c commit f59fd7f
Show file tree
Hide file tree
Showing 16 changed files with 55 additions and 48 deletions.
1 change: 1 addition & 0 deletions foundation/api/foundation.api
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,7 @@ public abstract interface class org/jetbrains/jewel/foundation/theme/JewelTheme

public final class org/jetbrains/jewel/foundation/theme/JewelTheme$Companion {
public final fun getContentColor (Landroidx/compose/runtime/Composer;I)J
public final fun getDefaultTextStyle (Landroidx/compose/runtime/Composer;I)Landroidx/compose/ui/text/TextStyle;
public final fun getGlobalColors (Landroidx/compose/runtime/Composer;I)Lorg/jetbrains/jewel/foundation/GlobalColors;
public final fun getGlobalMetrics (Landroidx/compose/runtime/Composer;I)Lorg/jetbrains/jewel/foundation/GlobalMetrics;
public final fun getTextStyle (Landroidx/compose/runtime/Composer;I)Landroidx/compose/ui/text/TextStyle;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ public interface JewelTheme {
@ReadOnlyComposable
get() = LocalGlobalMetrics.current

@Deprecated("Use defaultTextStyle instead", ReplaceWith("JewelTheme.defaultTextStyle"), DeprecationLevel.ERROR)
public val textStyle: TextStyle
@Composable
@ReadOnlyComposable
get() = defaultTextStyle

public val defaultTextStyle: TextStyle
@Composable
@ReadOnlyComposable
get() = LocalTextStyle.current
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import org.jetbrains.jewel.ui.component.minus

/**
* The text style to use for regular text. Identical to
* [JewelTheme.textStyle].
* [JewelTheme.defaultTextStyle].
*
* Only available when running in the IntelliJ Platform.
*/
Expand Down
2 changes: 1 addition & 1 deletion int-ui/int-ui-standalone/api/int-ui-standalone.api
Original file line number Diff line number Diff line change
Expand Up @@ -333,10 +333,10 @@ public final class org/jetbrains/jewel/intui/standalone/theme/IntUiGlobalMetrics
public final class org/jetbrains/jewel/intui/standalone/theme/IntUiThemeKt {
public static final fun IntUiTheme (Lorg/jetbrains/jewel/foundation/theme/ThemeDefinition;Lorg/jetbrains/jewel/ui/ComponentStyling;ZLkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;II)V
public static final fun IntUiTheme (ZZLkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;II)V
public static final fun createDefaultTextStyle (Lorg/jetbrains/jewel/foundation/theme/JewelTheme$Companion;)Landroidx/compose/ui/text/TextStyle;
public static final fun dark (Lorg/jetbrains/jewel/ui/ComponentStyling;Lorg/jetbrains/jewel/ui/component/styling/CheckboxStyle;Lorg/jetbrains/jewel/ui/component/styling/ChipStyle;Lorg/jetbrains/jewel/ui/component/styling/CircularProgressStyle;Lorg/jetbrains/jewel/ui/component/styling/ButtonStyle;Lorg/jetbrains/jewel/ui/component/styling/TabStyle;Lorg/jetbrains/jewel/ui/component/styling/DividerStyle;Lorg/jetbrains/jewel/ui/component/styling/DropdownStyle;Lorg/jetbrains/jewel/ui/component/styling/TabStyle;Lorg/jetbrains/jewel/ui/component/styling/GroupHeaderStyle;Lorg/jetbrains/jewel/ui/component/styling/HorizontalProgressBarStyle;Lorg/jetbrains/jewel/ui/component/styling/IconButtonStyle;Lorg/jetbrains/jewel/ui/component/styling/LazyTreeStyle;Lorg/jetbrains/jewel/ui/component/styling/LinkStyle;Lorg/jetbrains/jewel/ui/component/styling/MenuStyle;Lorg/jetbrains/jewel/ui/component/styling/ButtonStyle;Lorg/jetbrains/jewel/ui/component/styling/RadioButtonStyle;Lorg/jetbrains/jewel/ui/component/styling/ScrollbarStyle;Lorg/jetbrains/jewel/ui/component/styling/SliderStyle;Lorg/jetbrains/jewel/ui/component/styling/TextAreaStyle;Lorg/jetbrains/jewel/ui/component/styling/TextFieldStyle;Lorg/jetbrains/jewel/ui/component/styling/TooltipStyle;Lorg/jetbrains/jewel/ui/component/styling/DropdownStyle;Landroidx/compose/runtime/Composer;IIII)Lorg/jetbrains/jewel/ui/ComponentStyling;
public static final fun darkThemeDefinition-RFMEUTM (Lorg/jetbrains/jewel/foundation/theme/JewelTheme$Companion;Lorg/jetbrains/jewel/foundation/GlobalColors;Lorg/jetbrains/jewel/foundation/GlobalMetrics;Lorg/jetbrains/jewel/foundation/theme/ThemeColorPalette;Lorg/jetbrains/jewel/foundation/theme/ThemeIconData;Landroidx/compose/ui/text/TextStyle;JLandroidx/compose/runtime/Composer;II)Lorg/jetbrains/jewel/foundation/theme/ThemeDefinition;
public static final fun default (Lorg/jetbrains/jewel/ui/ComponentStyling;Landroidx/compose/runtime/Composer;I)Lorg/jetbrains/jewel/ui/ComponentStyling;
public static final fun getDefaultTextStyle (Lorg/jetbrains/jewel/foundation/theme/JewelTheme$Companion;)Landroidx/compose/ui/text/TextStyle;
public static final fun light (Lorg/jetbrains/jewel/ui/ComponentStyling;Lorg/jetbrains/jewel/ui/component/styling/CheckboxStyle;Lorg/jetbrains/jewel/ui/component/styling/ChipStyle;Lorg/jetbrains/jewel/ui/component/styling/CircularProgressStyle;Lorg/jetbrains/jewel/ui/component/styling/ButtonStyle;Lorg/jetbrains/jewel/ui/component/styling/TabStyle;Lorg/jetbrains/jewel/ui/component/styling/DividerStyle;Lorg/jetbrains/jewel/ui/component/styling/DropdownStyle;Lorg/jetbrains/jewel/ui/component/styling/TabStyle;Lorg/jetbrains/jewel/ui/component/styling/GroupHeaderStyle;Lorg/jetbrains/jewel/ui/component/styling/HorizontalProgressBarStyle;Lorg/jetbrains/jewel/ui/component/styling/IconButtonStyle;Lorg/jetbrains/jewel/ui/component/styling/LazyTreeStyle;Lorg/jetbrains/jewel/ui/component/styling/LinkStyle;Lorg/jetbrains/jewel/ui/component/styling/MenuStyle;Lorg/jetbrains/jewel/ui/component/styling/ButtonStyle;Lorg/jetbrains/jewel/ui/component/styling/RadioButtonStyle;Lorg/jetbrains/jewel/ui/component/styling/ScrollbarStyle;Lorg/jetbrains/jewel/ui/component/styling/SliderStyle;Lorg/jetbrains/jewel/ui/component/styling/TextAreaStyle;Lorg/jetbrains/jewel/ui/component/styling/TextFieldStyle;Lorg/jetbrains/jewel/ui/component/styling/TooltipStyle;Lorg/jetbrains/jewel/ui/component/styling/DropdownStyle;Landroidx/compose/runtime/Composer;IIII)Lorg/jetbrains/jewel/ui/ComponentStyling;
public static final fun lightThemeDefinition-RFMEUTM (Lorg/jetbrains/jewel/foundation/theme/JewelTheme$Companion;Lorg/jetbrains/jewel/foundation/GlobalColors;Lorg/jetbrains/jewel/foundation/GlobalMetrics;Lorg/jetbrains/jewel/foundation/theme/ThemeColorPalette;Lorg/jetbrains/jewel/foundation/theme/ThemeIconData;Landroidx/compose/ui/text/TextStyle;JLandroidx/compose/runtime/Composer;II)Lorg/jetbrains/jewel/foundation/theme/ThemeDefinition;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import org.jetbrains.jewel.foundation.theme.JewelTheme
import org.jetbrains.jewel.intui.core.theme.IntUiDarkTheme
import org.jetbrains.jewel.intui.core.theme.IntUiLightTheme
import org.jetbrains.jewel.intui.standalone.standalonePainterProvider
import org.jetbrains.jewel.intui.standalone.theme.defaultTextStyle
import org.jetbrains.jewel.intui.standalone.theme.createDefaultTextStyle
import org.jetbrains.jewel.ui.component.styling.DropdownColors
import org.jetbrains.jewel.ui.component.styling.DropdownIcons
import org.jetbrains.jewel.ui.component.styling.DropdownMetrics
Expand All @@ -30,7 +30,7 @@ public object IntUiDefaultDropdownStyleFactory {
colors: DropdownColors = DropdownColors.Default.light(),
metrics: DropdownMetrics = DropdownMetrics.default(),
icons: DropdownIcons = DropdownIcons.defaults(),
textStyle: TextStyle = JewelTheme.defaultTextStyle,
textStyle: TextStyle = JewelTheme.createDefaultTextStyle(),
menuStyle: MenuStyle = MenuStyle.light(),
): DropdownStyle =
DropdownStyle(colors, metrics, icons, textStyle, menuStyle)
Expand All @@ -40,7 +40,7 @@ public object IntUiDefaultDropdownStyleFactory {
colors: DropdownColors = DropdownColors.Default.dark(),
metrics: DropdownMetrics = DropdownMetrics.default(),
icons: DropdownIcons = DropdownIcons.defaults(),
textStyle: TextStyle = JewelTheme.defaultTextStyle,
textStyle: TextStyle = JewelTheme.createDefaultTextStyle(),
menuStyle: MenuStyle = MenuStyle.dark(),
): DropdownStyle =
DropdownStyle(colors, metrics, icons, textStyle, menuStyle)
Expand All @@ -56,7 +56,7 @@ public object IntUiUndecoratedDropdownStyleFactory {
colors: DropdownColors = DropdownColors.Undecorated.light(),
metrics: DropdownMetrics = DropdownMetrics.undecorated(),
icons: DropdownIcons = DropdownIcons.defaults(),
textStyle: TextStyle = JewelTheme.defaultTextStyle,
textStyle: TextStyle = JewelTheme.createDefaultTextStyle(),
menuStyle: MenuStyle = MenuStyle.light(),
): DropdownStyle =
DropdownStyle(colors, metrics, icons, textStyle, menuStyle)
Expand All @@ -66,7 +66,7 @@ public object IntUiUndecoratedDropdownStyleFactory {
colors: DropdownColors = DropdownColors.Undecorated.dark(),
metrics: DropdownMetrics = DropdownMetrics.undecorated(),
icons: DropdownIcons = DropdownIcons.defaults(),
textStyle: TextStyle = JewelTheme.defaultTextStyle,
textStyle: TextStyle = JewelTheme.createDefaultTextStyle(),
menuStyle: MenuStyle = MenuStyle.dark(),
): DropdownStyle =
DropdownStyle(colors, metrics, icons, textStyle, menuStyle)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import org.jetbrains.jewel.foundation.theme.JewelTheme
import org.jetbrains.jewel.intui.core.theme.IntUiDarkTheme
import org.jetbrains.jewel.intui.core.theme.IntUiLightTheme
import org.jetbrains.jewel.intui.standalone.standalonePainterProvider
import org.jetbrains.jewel.intui.standalone.theme.defaultTextStyle
import org.jetbrains.jewel.intui.standalone.theme.createDefaultTextStyle
import org.jetbrains.jewel.ui.component.styling.LinkColors
import org.jetbrains.jewel.ui.component.styling.LinkIcons
import org.jetbrains.jewel.ui.component.styling.LinkMetrics
Expand Down Expand Up @@ -89,8 +89,8 @@ public fun LinkIcons.Companion.defaults(

@Composable
public fun LinkTextStyles.Companion.light(
normal: TextStyle = JewelTheme.defaultTextStyle.copy(textDecoration = TextDecoration.Underline),
disabled: TextStyle = JewelTheme.defaultTextStyle,
normal: TextStyle = JewelTheme.createDefaultTextStyle().copy(textDecoration = TextDecoration.Underline),
disabled: TextStyle = JewelTheme.createDefaultTextStyle(),
focused: TextStyle = normal,
pressed: TextStyle = normal,
hovered: TextStyle = normal,
Expand All @@ -100,8 +100,8 @@ public fun LinkTextStyles.Companion.light(

@Composable
public fun LinkTextStyles.Companion.dark(
normal: TextStyle = JewelTheme.defaultTextStyle.copy(textDecoration = TextDecoration.Underline),
disabled: TextStyle = JewelTheme.defaultTextStyle,
normal: TextStyle = JewelTheme.createDefaultTextStyle().copy(textDecoration = TextDecoration.Underline),
disabled: TextStyle = JewelTheme.createDefaultTextStyle(),
focused: TextStyle = normal,
pressed: TextStyle = normal,
hovered: TextStyle = normal,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import androidx.compose.ui.unit.dp
import org.jetbrains.jewel.foundation.theme.JewelTheme
import org.jetbrains.jewel.intui.core.theme.IntUiDarkTheme
import org.jetbrains.jewel.intui.core.theme.IntUiLightTheme
import org.jetbrains.jewel.intui.standalone.theme.defaultTextStyle
import org.jetbrains.jewel.intui.standalone.theme.createDefaultTextStyle
import org.jetbrains.jewel.ui.component.styling.TextAreaColors
import org.jetbrains.jewel.ui.component.styling.TextAreaMetrics
import org.jetbrains.jewel.ui.component.styling.TextAreaStyle
Expand All @@ -20,15 +20,15 @@ import org.jetbrains.jewel.ui.component.styling.TextAreaStyle
public fun TextAreaStyle.Companion.light(
colors: TextAreaColors = TextAreaColors.light(),
metrics: TextAreaMetrics = TextAreaMetrics.defaults(),
textStyle: TextStyle = JewelTheme.defaultTextStyle,
textStyle: TextStyle = JewelTheme.createDefaultTextStyle(),
): TextAreaStyle =
TextAreaStyle(colors, metrics, textStyle)

@Composable
public fun TextAreaStyle.Companion.dark(
colors: TextAreaColors = TextAreaColors.dark(),
metrics: TextAreaMetrics = TextAreaMetrics.defaults(),
textStyle: TextStyle = JewelTheme.defaultTextStyle,
textStyle: TextStyle = JewelTheme.createDefaultTextStyle(),
): TextAreaStyle =
TextAreaStyle(colors, metrics, textStyle)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import androidx.compose.ui.unit.dp
import org.jetbrains.jewel.foundation.theme.JewelTheme
import org.jetbrains.jewel.intui.core.theme.IntUiDarkTheme
import org.jetbrains.jewel.intui.core.theme.IntUiLightTheme
import org.jetbrains.jewel.intui.standalone.theme.defaultTextStyle
import org.jetbrains.jewel.intui.standalone.theme.createDefaultTextStyle
import org.jetbrains.jewel.ui.component.styling.TextFieldColors
import org.jetbrains.jewel.ui.component.styling.TextFieldMetrics
import org.jetbrains.jewel.ui.component.styling.TextFieldStyle
Expand All @@ -20,15 +20,15 @@ import org.jetbrains.jewel.ui.component.styling.TextFieldStyle
public fun TextFieldStyle.Companion.light(
colors: TextFieldColors = TextFieldColors.light(),
metrics: TextFieldMetrics = TextFieldMetrics.defaults(),
textStyle: TextStyle = JewelTheme.defaultTextStyle,
textStyle: TextStyle = JewelTheme.createDefaultTextStyle(),
): TextFieldStyle =
TextFieldStyle(colors, metrics, textStyle)

@Composable
public fun TextFieldStyle.Companion.dark(
colors: TextFieldColors = TextFieldColors.dark(),
metrics: TextFieldMetrics = TextFieldMetrics.defaults(),
textStyle: TextStyle = JewelTheme.defaultTextStyle,
textStyle: TextStyle = JewelTheme.createDefaultTextStyle(),
): TextFieldStyle =
TextFieldStyle(colors, metrics, textStyle)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ import org.jetbrains.jewel.ui.component.styling.TooltipStyle
import org.jetbrains.jewel.ui.painter.LocalPainterHintsProvider
import org.jetbrains.jewel.ui.theme.BaseJewelTheme

public val JewelTheme.Companion.defaultTextStyle: TextStyle
get() = TextStyle.Default.copy(
public fun JewelTheme.Companion.createDefaultTextStyle(): TextStyle =
TextStyle.Default.copy(
fontFamily = FontFamily.Inter,
fontSize = 13.sp,
fontWeight = FontWeight.Normal,
Expand All @@ -62,7 +62,7 @@ public fun JewelTheme.Companion.lightThemeDefinition(
metrics: GlobalMetrics = GlobalMetrics.defaults(),
palette: ThemeColorPalette = IntUiLightTheme.colors,
iconData: ThemeIconData = IntUiLightTheme.iconData,
defaultTextStyle: TextStyle = JewelTheme.defaultTextStyle,
defaultTextStyle: TextStyle = JewelTheme.createDefaultTextStyle(),
contentColor: Color = IntUiLightTheme.colors.grey(1),
): ThemeDefinition =
ThemeDefinition(isDark = false, colors, metrics, defaultTextStyle, contentColor, palette, iconData)
Expand All @@ -73,7 +73,7 @@ public fun JewelTheme.Companion.darkThemeDefinition(
metrics: GlobalMetrics = GlobalMetrics.defaults(),
palette: ThemeColorPalette = IntUiDarkTheme.colors,
iconData: ThemeIconData = IntUiDarkTheme.iconData,
defaultTextStyle: TextStyle = JewelTheme.defaultTextStyle,
defaultTextStyle: TextStyle = JewelTheme.createDefaultTextStyle(),
contentColor: Color = IntUiDarkTheme.colors.grey(12),
): ThemeDefinition =
ThemeDefinition(isDark = true, colors, metrics, defaultTextStyle, contentColor, palette, iconData)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ private fun Editor(
onMarkdownChange: (String) -> Unit,
modifier: Modifier,
) {
val monospacedTextStyle = JewelTheme.textStyle.copy(fontFamily = FontFamily.Monospace)
val monospacedTextStyle = JewelTheme.defaultTextStyle.copy(fontFamily = FontFamily.Monospace)

TextArea(
value = currentMarkdown,
Expand Down
4 changes: 2 additions & 2 deletions ui/src/main/kotlin/org/jetbrains/jewel/ui/component/Button.kt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public fun DefaultButton(
enabled: Boolean = true,
interactionSource: MutableInteractionSource = remember { MutableInteractionSource() },
style: ButtonStyle = JewelTheme.defaultButtonStyle,
textStyle: TextStyle = JewelTheme.textStyle,
textStyle: TextStyle = JewelTheme.defaultTextStyle,
content: @Composable RowScope.() -> Unit,
) {
ButtonImpl(
Expand All @@ -70,7 +70,7 @@ public fun OutlinedButton(
enabled: Boolean = true,
interactionSource: MutableInteractionSource = remember { MutableInteractionSource() },
style: ButtonStyle = JewelTheme.outlinedButtonStyle,
textStyle: TextStyle = JewelTheme.textStyle,
textStyle: TextStyle = JewelTheme.defaultTextStyle,
content: @Composable RowScope.() -> Unit,
) {
ButtonImpl(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public fun RadioButton(
outline: Outline = Outline.None,
interactionSource: MutableInteractionSource = remember { MutableInteractionSource() },
style: RadioButtonStyle = JewelTheme.radioButtonStyle,
textStyle: TextStyle = JewelTheme.textStyle,
textStyle: TextStyle = JewelTheme.defaultTextStyle,
) {
RadioButtonImpl(
selected = selected,
Expand All @@ -79,7 +79,7 @@ public fun RadioButtonRow(
outline: Outline = Outline.None,
interactionSource: MutableInteractionSource = remember { MutableInteractionSource() },
style: RadioButtonStyle = JewelTheme.radioButtonStyle,
textStyle: TextStyle = JewelTheme.textStyle,
textStyle: TextStyle = JewelTheme.defaultTextStyle,
) {
RadioButtonImpl(
selected = selected,
Expand All @@ -104,7 +104,7 @@ public fun RadioButtonRow(
outline: Outline = Outline.None,
interactionSource: MutableInteractionSource = remember { MutableInteractionSource() },
style: RadioButtonStyle = JewelTheme.radioButtonStyle,
textStyle: TextStyle = JewelTheme.textStyle,
textStyle: TextStyle = JewelTheme.defaultTextStyle,
content: @Composable RowScope.() -> Unit,
) {
RadioButtonImpl(
Expand Down
4 changes: 2 additions & 2 deletions ui/src/main/kotlin/org/jetbrains/jewel/ui/component/Text.kt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public fun Text(
softWrap: Boolean = true,
maxLines: Int = Int.MAX_VALUE,
onTextLayout: (TextLayoutResult) -> Unit = {},
style: TextStyle = JewelTheme.textStyle,
style: TextStyle = JewelTheme.defaultTextStyle,
) {
Text(
AnnotatedString(text),
Expand Down Expand Up @@ -77,7 +77,7 @@ public fun Text(
maxLines: Int = Int.MAX_VALUE,
inlineContent: Map<String, InlineTextContent> = emptyMap(),
onTextLayout: (TextLayoutResult) -> Unit = {},
style: TextStyle = JewelTheme.textStyle,
style: TextStyle = JewelTheme.defaultTextStyle,
) {
val textColor = color.takeOrElse { LocalContentColor.current.takeOrElse { style.color } }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public fun TextArea(
maxLines: Int = Int.MAX_VALUE,
onTextLayout: (TextLayoutResult) -> Unit = {},
style: TextAreaStyle = JewelTheme.textAreaStyle,
textStyle: TextStyle = JewelTheme.textStyle,
textStyle: TextStyle = JewelTheme.defaultTextStyle,
interactionSource: MutableInteractionSource = remember { MutableInteractionSource() },
) {
var textFieldValueState by remember { mutableStateOf(TextFieldValue(text = value)) }
Expand Down Expand Up @@ -107,7 +107,7 @@ public fun TextArea(
maxLines: Int = Int.MAX_VALUE,
onTextLayout: (TextLayoutResult) -> Unit = {},
style: TextAreaStyle = JewelTheme.textAreaStyle,
textStyle: TextStyle = JewelTheme.textStyle,
textStyle: TextStyle = JewelTheme.defaultTextStyle,
interactionSource: MutableInteractionSource = remember { MutableInteractionSource() },
) {
val minSize = style.metrics.minSize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public fun TextField(
keyboardActions: KeyboardActions = KeyboardActions(),
onTextLayout: (TextLayoutResult) -> Unit = {},
style: TextFieldStyle = JewelTheme.textFieldStyle,
textStyle: TextStyle = JewelTheme.textStyle,
textStyle: TextStyle = JewelTheme.defaultTextStyle,
interactionSource: MutableInteractionSource = remember { MutableInteractionSource() },
) {
InputField(
Expand Down
Loading

0 comments on commit f59fd7f

Please sign in to comment.