Cooltey has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/373714 )

Change subject: Fix error text color in dark mode
......................................................................

Fix error text color in dark mode

In this update
 - Add Red75-Sunset Red to colors.xml
 - Add two styles for light mode and dark mode theme
 - Check current theme to give matched text appearance for the error text.

Bug: T173091
Change-Id: Ia8ea096f86d2a7063cc200fa2d36deae7a7516dd
---
M app/src/main/java/org/wikipedia/views/TextInputDialog.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/apps/android/wikipedia 
refs/changes/14/373714/1

diff --git a/app/src/main/java/org/wikipedia/views/TextInputDialog.java 
b/app/src/main/java/org/wikipedia/views/TextInputDialog.java
index f676bdc..a24998f 100644
--- a/app/src/main/java/org/wikipedia/views/TextInputDialog.java
+++ b/app/src/main/java/org/wikipedia/views/TextInputDialog.java
@@ -52,7 +52,7 @@
 
         if (WikipediaApp.getInstance().getCurrentTheme().isLight()) {
             
editTextContainer.setErrorTextAppearance(R.style.TextInputLayout_LightThemeErrorTextAppearance);
-        }else{
+        } else {
             
editTextContainer.setErrorTextAppearance(R.style.TextInputLayout_DarkThemeErrorTextAppearance);
         }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/373714
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia8ea096f86d2a7063cc200fa2d36deae7a7516dd
Gerrit-PatchSet: 1
Gerrit-Project: apps/android/wikipedia
Gerrit-Branch: master
Gerrit-Owner: Cooltey <cf...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to