From 814dfbfa402bac817862f785081942964a05ada0 Mon Sep 17 00:00:00 2001 From: Juan Manuel Cabello Date: Wed, 14 Aug 2024 06:25:49 +0000 Subject: [PATCH] Fix code style --- src/Views/AuthorView.vala | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Views/AuthorView.vala b/src/Views/AuthorView.vala index d25251f73..1352ffd62 100644 --- a/src/Views/AuthorView.vala +++ b/src/Views/AuthorView.vala @@ -23,9 +23,7 @@ private class AppCenter.AuthorView : Gtk.Box { return; } - Gee.Collection 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);