From b1e39044f4591188227469c49f942fc5f124efac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Tue, 3 Sep 2024 11:46:49 -0700 Subject: [PATCH] Don't elseif after return --- src/MainWindow.vala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/MainWindow.vala b/src/MainWindow.vala index 117c0cee..cb88cf3c 100644 --- a/src/MainWindow.vala +++ b/src/MainWindow.vala @@ -169,7 +169,9 @@ public class Sideload.MainWindow : Gtk.ApplicationWindow { stack.add_child (error_view); stack.visible_child = error_view; return; - } else if (flatpak_file is FlatpakRefFile) { + } + + if (flatpak_file is FlatpakRefFile) { progress_view = new ProgressView (ProgressView.ProgressType.REF_INSTALL); } else { progress_view = new ProgressView (ProgressView.ProgressType.BUNDLE_INSTALL);