Skip to content

Commit

Permalink
Bump up priority of notificaiton so it doesn't disappear
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Oct 2, 2024
1 parent 88fb59d commit 4226bff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Application.vala
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public class Installer.App : Gtk.Application {
var notification = new GLib.Notification (_("Connect to a Power Source"));
notification.set_body (_("Your device is running on battery power. It's recommended to be plugged in while installing."));
notification.set_icon (new ThemedIcon ("battery-ac-adapter"));
notification.set_priority (NotificationPriority.HIGH);
notification.set_priority (NotificationPriority.CRITICAL);

send_notification ("on-battery", notification);
}
Expand Down

0 comments on commit 4226bff

Please sign in to comment.