Skip to content

Commit 76e42c0

Browse files
Merge pull request #735 from nextcloud/error
use error for errorColor
2 parents fa25ae7 + 48fb6a6 commit 76e42c0

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)