Browse Source

Fixed bug where tab icon showed in desktop tab mode

master
Anthony Restaino 9 years ago
parent
commit
19b6a5bfc5
  1. 2
      app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java

2
app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java

@ -1242,7 +1242,7 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements
@Override @Override
public void updateTabNumber(int number) { public void updateTabNumber(int number) {
if (mArrowImage != null) { if (mArrowImage != null && mShowTabsInDrawer) {
mArrowImage.setImageBitmap(DrawableUtils.getRoundedNumberImage(number, Utils.dpToPx(24), mArrowImage.setImageBitmap(DrawableUtils.getRoundedNumberImage(number, Utils.dpToPx(24),
Utils.dpToPx(24), ThemeUtils.getIconThemeColor(this, mDarkTheme), Utils.dpToPx(2.5f))); Utils.dpToPx(24), ThemeUtils.getIconThemeColor(this, mDarkTheme), Utils.dpToPx(2.5f)));
} }

Loading…
Cancel
Save