Skip to content

Commit 48fb6a6

Browse files
use error for errorColor
Signed-off-by: tobiasKaminsky <[email protected]>
1 parent fa25ae7 commit 48fb6a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/main/java/com/nextcloud/android/common/ui/theme/utils/MaterialViewThemeUtils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ class MaterialViewThemeUtils
403403

404404
fun colorTextInputLayout(textInputLayout: TextInputLayout) {
405405
withScheme(textInputLayout) { scheme ->
406-
val errorColor = dynamicColor.surfaceVariant().getArgb(scheme)
406+
val errorColor = dynamicColor.error().getArgb(scheme)
407407

408408
val errorColorStateList =
409409
buildColorStateList(

0 commit comments

Comments
 (0)