HomePhabricator
Diffusion Comm 40c766e4e726

[desktop] Notification badge

Description

[desktop] Notification badge

Summary: Electron provides easy way to set the badge. This diff sets it to the unread count whenever it changes.

Test Plan:

  • Send a message from another account and check if the badge is displayed
  • Read the message and check if the badge disappears

Reviewers: tomek, atul, abosh, kamil

Reviewed By: tomek, atul

Subscribers: kamil, ashoat

Differential Revision: https://phab.comm.dev/D5633

Details

Provenance
Michal Gniadek <michal.gniadek@swmansion.com>Authored on Nov 14 2022, 8:31 AM
Reviewer
tomek
Differential Revision
D5633: [desktop] Notification badge
Parents
rCOMMf26876751866: [desktop] Draggable window
Branches
Unknown
Tags
Unknown

Event Timeline

Michal Gniadek <michal.gniadek@swmansion.com> committed rCOMM40c766e4e726: [desktop] Notification badge (authored by Michal Gniadek <michal.gniadek@swmansion.com>).Nov 23 2022, 6:09 AM