Fix notifications not hiding
This commit is contained in:
parent
c60e0a828f
commit
426f997f9b
|
@ -104,5 +104,5 @@ void winrt_windows_ui_notifications_toast_notifier_Hide(winrtWindowsUINotificati
|
||||||
g_return_if_fail (WINRT_IS_WINDOWS_UI_NOTIFICATIONS_TOAST_NOTIFIER (self));
|
g_return_if_fail (WINRT_IS_WINDOWS_UI_NOTIFICATIONS_TOAST_NOTIFIER (self));
|
||||||
g_return_if_fail (WINRT_IS_WINDOWS_UI_NOTIFICATIONS_TOAST_NOTIFICATION (toast_notification));
|
g_return_if_fail (WINRT_IS_WINDOWS_UI_NOTIFICATIONS_TOAST_NOTIFICATION (toast_notification));
|
||||||
|
|
||||||
return winrt_windows_ui_notifications_toast_notifier_get_internal(self)->Hide(*winrt_windows_ui_notifications_toast_notification_get_internal(toast_notification));
|
winrt_windows_ui_notifications_toast_notifier_get_internal(self)->Hide(*winrt_windows_ui_notifications_toast_notification_get_internal(toast_notification));
|
||||||
}
|
}
|
|
@ -219,6 +219,8 @@ namespace Dino.Plugins.WindowsNotification {
|
||||||
|
|
||||||
notifications[notification_id] = notification;
|
notifications[notification_id] = notification;
|
||||||
notifier.Show(notification);
|
notifier.Show(notification);
|
||||||
|
|
||||||
|
content_notifications.add(notification_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
private string? get_avatar(Conversation conversation) {
|
private string? get_avatar(Conversation conversation) {
|
||||||
|
|
Loading…
Reference in a new issue