Skip to content

Commit

Permalink
CheckView: show all feedback in test mode (#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit authored Sep 12, 2024
1 parent 6534553 commit 1364ca8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Views/CheckView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -105,18 +105,18 @@ public class Installer.CheckView : AbstractInstallerView {
var @is = apt_sources.read ();
var dis = new DataInputStream (@is);

if ("daily" in dis.read_line ()) {
if ("daily" in dis.read_line () || Installer.App.test_mode) {
message_box.append (beta_view);
}
} catch (Error e) {
critical ("Couldn't read apt sources: %s", e.message);
}

if (get_vm ()) {
if (get_vm () || Installer.App.test_mode) {
message_box.append (vm_view);
}

if (!minimum_specs) {
if (!minimum_specs || Installer.App.test_mode) {
message_box.append (specs_view);
}
}
Expand Down

0 comments on commit 1364ca8

Please sign in to comment.