this post was submitted on 02 Jul 2023
98 points (100.0% liked)
/kbin meta
6 readers
1 users here now
Magazine dedicated to discussions about the kbin itself. Provide feedback, ask questions, suggest improvements, and engage in conversations related to the platform organization, policies, features, and community dynamics. ---- * Roadmap 2023 * m/kbinDevlog * m/kbinDesign
founded 2 years ago
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It can't be done, but I would be tickled pink if the left image was the default icon and the right image was the icon if I have notifications waiting for me. π€£
This is 100% doable, but probably not worth the effort.
As an iOS app icon?
As an icon on the website definitely yes, and since itβs open source, maybe somebody will disagree with you.
I don't know anything about iOS development. I know it's possible to add pills to an icon if you have notifications, but I have no idea if iOS gives you the ability to change what the icon looks like. Because we'd be talking about a PWA, the tools may also be a little different.
As for browsers, I actually misremembered how favicons worked. After refreshing my memory, This is actually much less effort than I originally expected. Assuming an instance wanted to implement this, they could just change the
link
that defines the icon based on the currently logged in user's number of notifications.