Fixed bug where tab and toolbar colors were not in sync when color mode got switched on
This commit is contained in:
parent
e157d45d39
commit
6bbc0805de
@ -622,9 +622,11 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements
|
|||||||
mColorMode &= !mDarkTheme;
|
mColorMode &= !mDarkTheme;
|
||||||
if (!isIncognito() && !mColorMode && !mDarkTheme && mWebpageBitmap != null) {
|
if (!isIncognito() && !mColorMode && !mDarkTheme && mWebpageBitmap != null) {
|
||||||
changeToolbarBackground(mWebpageBitmap, null);
|
changeToolbarBackground(mWebpageBitmap, null);
|
||||||
|
mTabAdapter.notifyDataSetChanged();
|
||||||
} else if (!isIncognito() && mCurrentView != null && !mDarkTheme
|
} else if (!isIncognito() && mCurrentView != null && !mDarkTheme
|
||||||
&& mCurrentView.getFavicon() != null) {
|
&& mCurrentView.getFavicon() != null) {
|
||||||
changeToolbarBackground(mCurrentView.getFavicon(), null);
|
changeToolbarBackground(mCurrentView.getFavicon(), null);
|
||||||
|
mTabAdapter.notifyDataSetChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mFullScreen) {
|
if (mFullScreen) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user