Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 54c92bcb authored by Kshitij's avatar Kshitij
Browse files

fix: Properly handle tablet notification icons [2/2]

parent 48bda0f8
Loading
Loading
Loading
Loading
Compare 82de2633 to 1bdaf8e6
Original line number Original line Diff line number Diff line
Subproject commit 82de263300bedf3a5e4ba4552dd65347c267bd81
Subproject commit 1bdaf8e62d4d2faaa1bbd8dd64743cdc56f98493
+2 −1
Original line number Original line Diff line number Diff line
@@ -707,7 +707,8 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
            final int scrollY = getScrollY();
            final int scrollY = getScrollY();
            canvas.translate(scrollX, scrollY);
            canvas.translate(scrollX, scrollY);
            mDotParams.leftAlign = true;
            mDotParams.leftAlign = true;
            mDotRenderer.draw(canvas, mDotParams, mDotInfo == null ? -1 : mDotInfo.getNotificationCount());
            mDotRenderer.draw(canvas, mDotParams, mDotInfo == null ? -1 : mDotInfo.getNotificationCount(),
                    mActivity.getDeviceProfile().isTablet, mDisplay == DISPLAY_TASKBAR);
            canvas.translate(-scrollX, -scrollY);
            canvas.translate(-scrollX, -scrollY);
        }
        }
    }
    }