Skip to content

Commit

Permalink
Update SystemUpdate.vala
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit authored Oct 8, 2024
1 parent cf78c6c commit 7ee0db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Backends/SystemUpdate.vala
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public class SettingsDaemon.Backends.SystemUpdate : Object {
return;
}

if (notify || NetworkMonitor.get_default ().network_metered) {
if (notify || (NetworkMonitor.get_default ().network_metered && settings.get_boolean ("automatic-updates"))) {
var notification = new Notification (_("Update available"));
notification.set_default_action (Application.ACTION_PREFIX + Application.SHOW_UPDATES_ACTION);

Expand Down

0 comments on commit 7ee0db4

Please sign in to comment.