]> git.ktnx.net Git - mobile-ledger.git/commitdiff
theme: swap colorError and colorOnError
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 13 Feb 2021 14:45:00 +0000 (16:45 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 18 Feb 2021 07:19:43 +0000 (07:19 +0000)
colorError is used for TextInputLayout to draw error text. It needs to
stand out.

app/src/main/res/values/styles.xml

index d79776549aeb0e49bd96a14514146e118d3aeee4..ff81ea0794e370b82dcf7ba73c4a7dc37abb36d4 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-  ~ Copyright © 2020 Damyan Ivanov.
+  ~ Copyright © 2021 Damyan Ivanov.
   ~ This file is part of MoLe.
   ~ MoLe is free software: you can distribute it and/or modify it
   ~ under the term of the GNU General Public License as published by
@@ -30,8 +30,8 @@
         <item name="textInputStyle">
             @style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense
         </item>
-        <item name="colorError">#FFE1E2</item>
-        <item name="colorOnError">#CD1609</item>
+        <item name="colorError">#CD1609</item>
+        <item name="colorOnError">#FFE1E2</item>
         <item name="colorPrimary">#935ff2</item>
         <item name="colorPrimaryTransparent">#00935ff2</item>
         <item name="colorSecondary">#6920ed</item>