refactor: revert `OutlinedTextField` custom cursor color

reverts: f4a2100be9
pull/876/head
andrekir 2024-02-26 19:27:37 -03:00
rodzic 1990dfbabf
commit 804e8487af
2 zmienionych plików z 0 dodań i 8 usunięć

Wyświetl plik

@ -30,7 +30,6 @@ import androidx.compose.material.Scaffold
import androidx.compose.material.SnackbarHost
import androidx.compose.material.SnackbarHostState
import androidx.compose.material.Text
import androidx.compose.material.TextFieldDefaults
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.twotone.Check
import androidx.compose.material.icons.twotone.Close
@ -399,9 +398,6 @@ fun ChannelScreen(
keyboardType = KeyboardType.Uri, imeAction = ImeAction.Done
),
keyboardActions = KeyboardActions(onDone = { focusManager.clearFocus() }),
colors = TextFieldDefaults.outlinedTextFieldColors(
cursorColor = MaterialTheme.colors.onPrimary,
),
)
}

Wyświetl plik

@ -17,7 +17,6 @@ import androidx.compose.material.MaterialTheme
import androidx.compose.material.OutlinedTextField
import androidx.compose.material.Switch
import androidx.compose.material.Text
import androidx.compose.material.TextFieldDefaults
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.twotone.Close
import androidx.compose.material.icons.twotone.Refresh
@ -130,9 +129,6 @@ fun EditChannelDialog(
)
}
},
colors = TextFieldDefaults.outlinedTextFieldColors(
cursorColor = MaterialTheme.colors.onPrimary,
),
)
Row(verticalAlignment = Alignment.CenterVertically) {