Create icons for users without an avatar in desktop notifications (#305)

* Add notifications icon for users without an avatar

* Render icon at higher resolution

* Use scale to render at higher resolution
This commit is contained in:
ginnyTheCat
2022-02-15 12:48:25 +01:00
committed by GitHub
parent 6b148fdb31
commit 328f5fc799
5 changed files with 88 additions and 15 deletions
+4
View File
@@ -110,3 +110,7 @@ export function getScrollInfo(target) {
scroll.isScrollable = scroll.height > scroll.viewHeight;
return scroll;
}
export function avatarInitials(text) {
return [...text][0];
}