fix: removed forced true condition for testing

This commit is contained in:
Gabriele Musco 2024-01-30 00:01:40 +01:00
parent 88e4affaca
commit e4cc74aa1a
No known key found for this signature in database
GPG key ID: 1068D795C80E51DE

View file

@ -242,7 +242,7 @@ impl SimpleComponent for MainView {
add_css_class: "card",
add_css_class: "padded",
#[track = "model.changed(Self::selected_profile())"]
set_visible: true || !dep_pkexec().check(),
set_visible: !dep_pkexec().check(),
warning_heading(),
gtk::Label {
set_label: &format!(