Skip to content

Commit

Permalink
Always force check for update and update settings id
Browse files Browse the repository at this point in the history
  • Loading branch information
leolost2605 committed Jan 23, 2024
1 parent cc2ba33 commit e3e679b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Views/OperatingSystemView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/

public class About.OperatingSystemView : Gtk.Box {
private static Settings update_settings = new Settings ("io.elementary.settings-daemon.system-updates");
private static Settings update_settings = new Settings ("io.elementary.settings-daemon.system-update");

private string support_url;
private Gtk.StringList packages;
Expand Down Expand Up @@ -430,7 +430,7 @@ public class About.OperatingSystemView : Gtk.Box {
}

try {
yield update_proxy.check_for_updates (current_state.state == ERROR, false);
yield update_proxy.check_for_updates (true, false);
} catch (Error e) {
critical ("Failed to check for updates: %s", e.message);
}
Expand Down

0 comments on commit e3e679b

Please sign in to comment.