Fixed bug where tab icon showed in desktop tab mode

This commit is contained in:
Anthony Restaino 2016-02-11 21:41:17 -05:00
parent 45df40f580
commit 19b6a5bfc5

View File

@ -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)));
}