Fixed bug where tab icon showed in desktop tab mode
This commit is contained in:
parent
45df40f580
commit
19b6a5bfc5
@ -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…
x
Reference in New Issue
Block a user