mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-10 09:19:27 -05:00
notifications: timeout, prevent some warnings when dismissing notif
This commit is contained in:
@@ -60,6 +60,7 @@ function findSuitableMaterialSymbol(summary = "") {
|
||||
* @returns { string }
|
||||
*/
|
||||
const getFriendlyNotifTimeString = (timestamp) => {
|
||||
if (!timestamp) return '';
|
||||
const messageTime = new Date(timestamp);
|
||||
const now = new Date();
|
||||
const oneMinuteAgo = new Date(now.getTime() - 60000);
|
||||
|
||||
Reference in New Issue
Block a user