fix: Show themed icon and notification dot for prediction row (#7177)

This commit is contained in:
Pun Butrach authored and GitHub committed 2026-08-18 16:03:09 +00:00
1 parent f310e882a2
commit eed2baf4ef
1 file changed
+3 -2
@@ -577,7 +577,8 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
}
public boolean shouldUseTheme() {
if (mDisplay == DISPLAY_ALL_APPS || mDisplay == DISPLAY_DRAWER_FOLDER) {
if (mDisplay == DISPLAY_ALL_APPS || mDisplay == DISPLAY_DRAWER_FOLDER
|| mDisplay == DISPLAY_PREDICTION_ROW) {
return PreferenceManager.getInstance(getContext()).getDrawerThemedIcons().get();
}
return mDisplay == DISPLAY_WORKSPACE || mDisplay == DISPLAY_FOLDER
@@ -1378,7 +1379,7 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
mDotInfo = mActivity.getDotInfoForItem(itemInfo);
boolean isDotted = mDotInfo != null;
float newDotScale = isDotted ? 1f : 0;
if (mDisplay == DISPLAY_ALL_APPS) {
if (mDisplay == DISPLAY_ALL_APPS || mDisplay == DISPLAY_PREDICTION_ROW) {
mDotRenderer = mActivity.getDeviceProfile().mDotRendererAllApps;
} else {
mDotRenderer = mActivity.getDeviceProfile().mDotRendererWorkSpace;