summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2025-02-13 17:56:21 +0100
committerDavid Lönnhager <david.l@mullvad.net>2025-03-05 23:32:01 +0100
commit8183f74f6489d972ebf0bd8c907dfcba0884039b (patch)
treeebe50c78d552a577acf02a1eb784ad1f867e93a9
parent7e86e610ec9330c038dda59f70cc6cc8b7f099f5 (diff)
downloadmullvadvpn-8183f74f6489d972ebf0bd8c907dfcba0884039b.tar.xz
mullvadvpn-8183f74f6489d972ebf0bd8c907dfcba0884039b.zip
Don't hide cancel button if download fails
-rw-r--r--installer-downloader/src/ui_downloader.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/installer-downloader/src/ui_downloader.rs b/installer-downloader/src/ui_downloader.rs
index 67fa9322d2..19dfb96b2a 100644
--- a/installer-downloader/src/ui_downloader.rs
+++ b/installer-downloader/src/ui_downloader.rs
@@ -50,8 +50,6 @@ impl<Delegate: AppDelegate, Downloader: AppDownloader + Send + 'static> AppDownl
Err(err) => {
self.queue.queue_main(move |self_| {
self_.set_download_text("ERROR: Download failed. Please try again.");
- self_.enable_download_button();
- self_.hide_cancel_button();
});
Err(err)