fix: remove update check from the ui

it is no longer necessary
This commit is contained in:
2025-04-12 11:59:02 +00:00
parent f3016eb029
commit 7db36b7bc0
4 changed files with 25 additions and 52 deletions

View File

@ -469,12 +469,4 @@ pub async fn list_patches(state: State<'_, Mutex<AppData>>, target: String) -> R
let list = appd.patch_set.find_patches(target).map_err(|e| e.to_string())?;
Ok(list)
}
#[tauri::command]
pub async fn has_updated(state: State<'_, Mutex<AppData>>) -> Result<bool, ()> {
log::debug!("invoke: has_updated");
let appd = state.lock().await;
Ok(appd.state.has_updated)
}