Skip to content

Commit

Permalink
Don't elseif after return
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Sep 3, 2024
1 parent 9d30d5a commit b1e3904
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/MainWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b1e3904

Please sign in to comment.