From 15138cd47ab5b66e7dd705f7357a0912a7286fd0 Mon Sep 17 00:00:00 2001 From: LJ <5854483+ljoonal@users.noreply.github.com> Date: Thu, 28 Nov 2024 18:56:49 +0000 Subject: [PATCH] Fix building with distro feature enabled (#49) --- src/app/panels/middle/gupax.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/panels/middle/gupax.rs b/src/app/panels/middle/gupax.rs index 1a36e8b..31915e4 100644 --- a/src/app/panels/middle/gupax.rs +++ b/src/app/panels/middle/gupax.rs @@ -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);