Notification count support for Notification Dots (#2587)
* Add notification dot counter to preferences Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir> * Add counter support to notification dots Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir> Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir>
This commit is contained in:
1 parent
37c4bf7544
commit
074a102ded
9 files changed
+39
-9
No files matched your search
@@ -640,7 +640,7 @@ public class FolderIcon extends FrameLayout implements FolderListener, IconLabel
|
||||
// If we are animating to the accepting state, animate the dot out.
|
||||
mDotParams.scale = Math.max(0, mDotScale - mBackground.getScaleProgress());
|
||||
mDotParams.color = mBackground.getDotColor();
|
||||
mDotRenderer.draw(canvas, mDotParams);
|
||||
mDotRenderer.draw(canvas, mDotParams, mDotInfo == null ? -1 : mDotInfo.getNotificationCount());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user