Skip to content

Commit

Permalink
Update packages/app_center/lib/src/snapd/updates_model.dart
Browse files Browse the repository at this point in the history
Co-authored-by: Lukas Klingsbo <[email protected]>
  • Loading branch information
codinesh and spydon authored Dec 28, 2023
1 parent f16b4e6 commit 3d8d813
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/app_center/lib/src/snapd/updates_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ class UpdatesModel extends ChangeNotifier {
final changeDetails = await snapd.getChange(changeId);

// If the change is already completed, ignore silently.
// Otherwise an erorr will be displayed to user, which might be confusing.
// If it wouldn't be ignored, an error would be displayed to the user,
// which might be confusing.
if (changeDetails.ready) {
return;
}
Expand Down

0 comments on commit 3d8d813

Please sign in to comment.