Skip to content

Commit

Permalink
Fix building with distro feature enabled (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljoonal authored Nov 28, 2024
1 parent 2b49c4c commit 15138cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/panels/middle/gupax.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl Gupax {
// If [Gupax] is being built for a Linux distro,
// disable built-in updating completely.
#[cfg(feature = "distro")]
ui.disable(true);
ui.disable();
#[cfg(feature = "distro")]
ui.add_sized([width, button], Button::new("Updates are disabled"))
.on_disabled_hover_text(DISTRO_NO_UPDATE);
Expand Down

0 comments on commit 15138cd

Please sign in to comment.