From d11654b47df16a08ff8b94b60b4a9e4d9902db2b Mon Sep 17 00:00:00 2001 From: ojiikun Date: Wed, 6 Nov 2013 19:50:51 +0000 Subject: [PATCH] Remove pre-3.0 alpha hack so buttons don't go missing. --- clients/android/NewsBlur/src/com/newsblur/util/UIUtils.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/clients/android/NewsBlur/src/com/newsblur/util/UIUtils.java b/clients/android/NewsBlur/src/com/newsblur/util/UIUtils.java index 869b14a0f..b2706ac72 100644 --- a/clients/android/NewsBlur/src/com/newsblur/util/UIUtils.java +++ b/clients/android/NewsBlur/src/com/newsblur/util/UIUtils.java @@ -88,11 +88,6 @@ public class UIUtils { * that it may as well be. */ public static void setViewAlpha(View v, float alpha) { - boolean newVis = (alpha > 0.001); - if ((v.getVisibility() == View.VISIBLE) && !newVis) { - v.setVisibility(View.INVISIBLE); - } - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { v.setAlpha(alpha); }