Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
kerunaru committed Aug 14, 2024
1 parent 38435b9 commit 814dfbf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Views/AuthorView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ private class AppCenter.AuthorView : Gtk.Box {
return;
}

Gee.Collection<AppCenterCore.Package> author_packages;

author_packages = package.author_id == null
var author_packages = package.author_id == null
? AppCenterCore.FlatpakBackend.get_default ().get_packages_by_author (package.author, AUTHOR_OTHER_APPS_MAX)
: AppCenterCore.FlatpakBackend.get_default ().get_packages_by_author_id (package.author_id, AUTHOR_OTHER_APPS_MAX);

Expand Down

0 comments on commit 814dfbf

Please sign in to comment.