[gnome-clocks/wip/sophie-h/fix-no-notification] Apply 1 suggestion(s) to 1 file(s)



commit 738217b966f81d12e043dc07b60bf138708080a3
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Thu Aug 4 15:52:13 2022 +0000

    Apply 1 suggestion(s) to 1 file(s)

 src/application.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/application.vala b/src/application.vala
index 589f13c5..4455362d 100644
--- a/src/application.vala
+++ b/src/application.vala
@@ -144,7 +144,7 @@ public class Application : Adw.Application {
     public new void send_notification (string notification_id, GLib.Notification notification) {
         base.send_notification (notification_id, notification);
 
-        if (system_notifications.find (notification_id) == null) {
+        if (!system_notifications.find (notification_id)) {
             system_notifications.append (notification_id);
         }
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]