From 19b6a5bfc57198a58e46c4d71a5826bf311cfd45 Mon Sep 17 00:00:00 2001 From: Anthony Restaino Date: Thu, 11 Feb 2016 21:41:17 -0500 Subject: [PATCH] Fixed bug where tab icon showed in desktop tab mode --- .../java/acr/browser/lightning/activity/BrowserActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java b/app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java index b6a6161..b4eb3b2 100644 --- a/app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java +++ b/app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java @@ -1242,7 +1242,7 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements @Override public void updateTabNumber(int number) { - if (mArrowImage != null) { + if (mArrowImage != null && mShowTabsInDrawer) { mArrowImage.setImageBitmap(DrawableUtils.getRoundedNumberImage(number, Utils.dpToPx(24), Utils.dpToPx(24), ThemeUtils.getIconThemeColor(this, mDarkTheme), Utils.dpToPx(2.5f))); }