mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2025-04-13 10:11:56 +00:00
Fix building with distro feature enabled (#49)
This commit is contained in:
parent
ad1dac3246
commit
b548d51cb4
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