From 418f0970ab2d16f2372f98143f75a4407cf9f65f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Sat, 25 Oct 2014 02:41:20 +0200 Subject: [PATCH] Fix safe slinger button --- .../sufficientlysecure/keychain/ui/SafeSlingerActivity.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/SafeSlingerActivity.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/SafeSlingerActivity.java index 77859d101..61b04c0bc 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/SafeSlingerActivity.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/SafeSlingerActivity.java @@ -116,9 +116,11 @@ public class SafeSlingerActivity extends ActionBarActivity { }); } - ImageView button = (ImageView) findViewById(R.id.safe_slinger_button_image); - button.setColorFilter(getResources().getColor(R.color.tertiary_text_light), + ImageView buttonIcon = (ImageView) findViewById(R.id.safe_slinger_button_image); + buttonIcon.setColorFilter(getResources().getColor(R.color.tertiary_text_light), PorterDuff.Mode.SRC_IN); + + ImageView button = (ImageView) findViewById(R.id.safe_slinger_button); button.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) {