From f4d120b11f4d9e5c831473f4657c5c8adfe4abaa Mon Sep 17 00:00:00 2001 From: rustdesk Date: Wed, 23 Aug 2023 12:04:19 +0800 Subject: [PATCH] remove useless line --- src/ui_interface.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ui_interface.rs b/src/ui_interface.rs index 6c0d38354..ed2b4f4fc 100644 --- a/src/ui_interface.rs +++ b/src/ui_interface.rs @@ -594,7 +594,6 @@ pub fn current_is_wayland() -> bool { #[inline] pub fn get_new_version() -> String { - // hbb_common::get_version_from_url(&*SOFTWARE_UPDATE_URL.lock().unwrap()) (*SOFTWARE_UPDATE_URL.lock().unwrap().rsplit('/').next().unwrap_or("")).to_string() }