fix: update configuration data access from latest_arc to data_arc in Clash and WebDAV commands and init windows

This commit is contained in:
Tunglies
2025-11-09 21:26:11 +08:00
parent f5160ef277
commit 7f267fa727
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ pub async fn save_webdav_config(url: String, username: String, password: String)
Config::verge().await.edit_draft(|e| e.patch_config(&patch));
Config::verge().await.apply();
let verge_data = Config::verge().await.latest_arc();
let verge_data = Config::verge().await.data_arc();
verge_data.save_file().await.stringify_err()?;
core::backup::WebDavClient::global().reset();
Ok(())