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

Commit c9d72b5c authored by Saalim Quadri's avatar Saalim Quadri
Browse files

Merge branch '1234-a15-folder-notifs' into 'a15'

feat: Fix notification badge in Folders

See merge request e/os/BlissLauncher3!154
parents 114b2ce2 f6a62545
Loading
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -665,8 +665,12 @@ public class FolderIcon extends FrameLayout implements FolderListener, FloatingI
            mDotParams.scale = Math.max(0, mDotScale - mBackground.getAcceptScaleProgress());
            mDotParams.dotColor = getContext().getResources()
                    .getColor(R.color.notification_dot_bg, getContext().getTheme());
            mDotParams.shadowDotColor = getContext().getResources()
                    .getColor(R.color.notification_dot_shadow, getContext().getTheme());
            mDotParams.leftAlign = true;
            mDotRenderer.draw(canvas, mDotParams, mDotInfo == null ? -1 : mDotInfo.getNotificationCount());
            mDotRenderer.draw(canvas, mDotParams,
                    mDotInfo == null ? -1 : mDotInfo.getNotificationCount(),
                    mActivity.getDeviceProfile().isTablet, false);

        }
    }