[tor-commits] [snowflake-mobile/master] Added color to indicate failure to message
cohosh at torproject.org
cohosh at torproject.org
Mon Nov 23 16:33:36 UTC 2020
commit 63d4c44b84ce5e8d56a07352dd8725aab86c8e15
Author: Hashik Donthineni <HashikDonthineni at Gmail.com>
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
More information about the tor-commits
mailing list