This commit is contained in:
sankalp committed 2024-07-15 05:41:01 +05:45
1 parent a3afc580ac
commit 3cc23a89e0
4 files changed
+29 -8

No files matched your search

@@ -39,11 +39,13 @@ const NotificationReveal = (notification: NotificationType, visible = false, dis
count: number;
id: number;
app: string;
destroying: boolean;
};
let box: Box<any, BoxAttrs>;
const destroyWithAnims = () => {
box.attribute.destroying = true;
secondRevealer.reveal_child = false;
Utils.timeout(transition_duration, () => {
firstRevealer.reveal_child = false;
@@ -58,7 +60,8 @@ const NotificationReveal = (notification: NotificationType, visible = false, dis
destroyWithAnims: destroyWithAnims,
count: 0,
id: notification.id,
app: notification.app_name
app: notification.app_name,
destroying: false
},
children: [firstRevealer]
});