diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-01-23 15:54:30 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-01-23 16:10:34 +0100 |
commit | d6619d4b25a201fa5f6edb4deacc96f77a9748ff (patch) | |
tree | 161398fc29e2478e26fe2dc755390f17da93c0dd /app/src | |
parent | 44409d0d609b9653bbb010fc68f26cce195c1d40 (diff) |
Match lowercase asus phones for fab hack
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenu.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenu.java b/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenu.java index 9704081b..4ac747cd 100644 --- a/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenu.java +++ b/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenu.java @@ -45,7 +45,7 @@ public class FloatingActionsMenu extends ViewGroup { public static final int LABELS_ON_RIGHT_SIDE = 1; private static final TimeInterpolator ALPHA_EXPAND_INTERPOLATOR = new DecelerateInterpolator(); private static final int ANIMATION_DURATION = 300; - private static final boolean BROKEN_LABEL_STYLE = Build.VERSION.SDK_INT <= Build.VERSION_CODES.LOLLIPOP_MR1 && Build.BRAND.equals("ASUS"); + private static final boolean BROKEN_LABEL_STYLE = Build.VERSION.SDK_INT <= Build.VERSION_CODES.LOLLIPOP_MR1 && Build.BRAND.equalsIgnoreCase("ASUS"); private static final float COLLAPSED_PLUS_ROTATION = 0f; private static final TimeInterpolator COLLAPSE_INTERPOLATOR = new DecelerateInterpolator(3f); private static final float EXPANDED_PLUS_ROTATION = 90f + 45f; |