Skip to content

Commit

Permalink
Fixed a release notes icon bug when installing/cancelling and update
Browse files Browse the repository at this point in the history
The release notes icon would appear when canelling an update of an application that doew nost have a description (and thus the icon should not appear)
  • Loading branch information
italo-capasso committed Dec 22, 2024
1 parent 6f6b9cc commit 0a7e541
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Widgets/AppContainers/InstalledPackageRowGrid.vala
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ public class AppCenter.Widgets.InstalledPackageRowGrid : AbstractPackageRowGrid
release_button_revealer.reveal_child = true;
}
} else {
release_button_revealer.reveal_child = true;
if (newest.get_description () != null) {
release_button_revealer.reveal_child = true;
}
}
}

Expand Down

0 comments on commit 0a7e541

Please sign in to comment.