mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2025-04-06 14:37:29 +00:00
Fix building with distro feature enabled
Outdated code behind a macro
This commit is contained in:
parent
2b49c4c0a3
commit
037b3bbe66
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue