Skip to content

Commit 89799f7

Browse files
chore(datastore): update composeMaterial3Version (#298)
* chore(datastore): update composeMaterial3Version and OutlinedTextField:colors method signature * chore(datastore): ktlint --------- Co-authored-by: govinddixit <govind.dixit@cred.club>
1 parent 1c2497a commit 89799f7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dependencies.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ ext {
1414
navigationVersion = '2.4.1'
1515
composeCompileVersion = '1.4.7'
1616
composeVersion = '1.4.0'
17-
composeMaterial3Version = '1.0.1'
17+
composeMaterial3Version = '1.1.2'
1818

1919
}

pluto-plugins/plugins/datastore/lib/src/main/java/com/pluto/plugins/datastore/pref/internal/compose/DisplayComponents.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import androidx.compose.foundation.text.KeyboardOptions
1818
import androidx.compose.material3.Divider
1919
import androidx.compose.material3.ExperimentalMaterial3Api
2020
import androidx.compose.material3.OutlinedTextField
21+
import androidx.compose.material3.OutlinedTextFieldDefaults
2122
import androidx.compose.material3.Text
22-
import androidx.compose.material3.TextFieldDefaults
2323
import androidx.compose.runtime.Composable
2424
import androidx.compose.runtime.LaunchedEffect
2525
import androidx.compose.runtime.MutableState
@@ -189,7 +189,7 @@ private fun EditableField(
189189
onValueChange = { input ->
190190
newValue.value = input
191191
},
192-
colors = TextFieldDefaults.outlinedTextFieldColors(
192+
colors = OutlinedTextFieldDefaults.colors(
193193
focusedBorderColor = colorResource(id = R.color.pluto___text_dark_60),
194194
unfocusedBorderColor = colorResource(id = R.color.pluto___text_dark_20)
195195
),

0 commit comments

Comments
 (0)