Fix color in workspace. Where theme badge is applied when it shouldn't

bug: 300368356
Test: Manual
Flag: n/a
Change-Id: I9f391e4ffde41eedba7130f496f4f5e3f51d58db
This commit is contained in:
Brandon Dayauon
2023-09-14 19:05:09 +00:00
parent c468af4139
commit 08cdbc57c7

View File

@@ -397,8 +397,8 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
}
protected boolean shouldUseTheme() {
return mDisplay == DISPLAY_WORKSPACE || mDisplay == DISPLAY_FOLDER
|| mDisplay == DISPLAY_TASKBAR;
return (mDisplay == DISPLAY_WORKSPACE || mDisplay == DISPLAY_FOLDER
|| mDisplay == DISPLAY_TASKBAR) && Themes.isThemedIconEnabled(getContext());
}
/**