Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Size information for Runtime Updates #1957

Merged
merged 2 commits into from
Dec 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/Core/UpdateManager.vala
Original file line number Diff line number Diff line change
@@ -54,7 +54,7 @@ public class AppCenterCore.UpdateManager : Object {
runtime_updates_component.summary = _("Updates to app runtimes");
runtime_updates_component.add_icon (runtime_icon);

runtime_updates = new AppCenterCore.Package (FlatpakBackend.get_default (), runtime_updates_component);
runtime_updates = new AppCenterCore.Package (BackendAggregator.get_default (), runtime_updates_component);
}

public async uint get_updates (Cancellable? cancellable = null) {
@@ -161,6 +161,7 @@ public class AppCenterCore.UpdateManager : Object {

if (!AppCenter.App.settings.get_boolean ("automatic-updates")) {
runtime_count++;
has_flatpak_updates = true;
}

runtime_desc += Markup.printf_escaped (