We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1720166 commit 8e8b0a0Copy full SHA for 8e8b0a0
src/windows/main_window.vala
@@ -1247,8 +1247,14 @@ namespace AppManager {
1247
var key = record_state_key(result.record);
1248
if (result.has_update) {
1249
pending_update_keys.add(key);
1250
+ // Stage the update so it persists across app restarts
1251
+ staged_updates.add(result.record.id, result.record.name, result.available_version);
1252
+ staged_updates.save();
1253
} else {
1254
pending_update_keys.remove(key);
1255
+ // Remove from staged updates if no longer has an update
1256
+ staged_updates.remove(result.record.id);
1257
1258
}
1259
1260
refresh_installations();
0 commit comments