[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [snowflake-mobile/master] Added color to indicate failure to message
commit 63d4c44b84ce5e8d56a07352dd8725aab86c8e15
Author: Hashik Donthineni <HashikDonthineni@xxxxxxxxx>
Date: Wed Nov 11 15:01:44 2020 +0530
Added color to indicate failure to message
---
app/src/main/java/org/torproject/snowflake/fragments/MainFragment.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/app/src/main/java/org/torproject/snowflake/fragments/MainFragment.java b/app/src/main/java/org/torproject/snowflake/fragments/MainFragment.java
index 1fddeaa..152e794 100644
--- a/app/src/main/java/org/torproject/snowflake/fragments/MainFragment.java
+++ b/app/src/main/java/org/torproject/snowflake/fragments/MainFragment.java
@@ -3,6 +3,7 @@ package org.torproject.snowflake.fragments;
import android.animation.ArgbEvaluator;
import android.animation.ValueAnimator;
import android.content.Context;
+import android.graphics.Color;
import android.graphics.PorterDuff;
import android.os.Bundle;
import android.util.Log;
@@ -155,5 +156,6 @@ public class MainFragment extends Fragment {
startButton.setChecked(false);
setSnowflakeStatus(false);
noteTV.setText(message);
+ noteTV.setTextColor(Color.RED);
}
}
\ No newline at end of file
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits