mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 08:56:55 +00:00
Remove the tint from taskbar themed icons for dark mode.
We remove the added tint to taskbar themed icons to match how they look in the hotseat on launcher home screen specifically for dark mode. Fix: 323952706 Test: Turn on themed icons and dark mode. Compare app icons in taskbar and in hotseat Flag: N/A Change-Id: I4dfe352ca17ef5537e48fcc3cff66ba4fd4f603a
This commit is contained in:
@@ -206,19 +206,12 @@ public class TaskbarModelCallbacks implements
|
||||
|
||||
if (mDeferUpdatesForSUW) {
|
||||
ItemInfo[] finalHotseatItemInfos = hotseatItemInfos;
|
||||
mDeferredUpdates = () -> {
|
||||
updateHotseatItemsAndBackground(finalHotseatItemInfos);
|
||||
};
|
||||
mDeferredUpdates = () -> mContainer.updateHotseatItems(finalHotseatItemInfos);
|
||||
} else {
|
||||
updateHotseatItemsAndBackground(hotseatItemInfos);
|
||||
mContainer.updateHotseatItems(hotseatItemInfos);
|
||||
}
|
||||
}
|
||||
|
||||
private void updateHotseatItemsAndBackground(ItemInfo[] hotseatItemInfos) {
|
||||
mContainer.updateHotseatItems(hotseatItemInfos);
|
||||
mControllers.taskbarViewController.updateIconsBackground();
|
||||
}
|
||||
|
||||
/**
|
||||
* This is used to defer UI updates after SUW builds the unstash animation.
|
||||
* @param defer if true, defers updates to the UI
|
||||
|
||||
Reference in New Issue
Block a user