diff --git a/Cargo.lock b/Cargo.lock index 70431d7..1f4f8ee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -31,7 +31,7 @@ dependencies = [ [[package]] name = "anime-game-core" -version = "0.5.0" +version = "0.5.1" dependencies = [ "bzip2", "curl", diff --git a/anime-game-core b/anime-game-core index 75bac74..ecf84da 160000 --- a/anime-game-core +++ b/anime-game-core @@ -1 +1 @@ -Subproject commit 75bac741dd3ca9380da3997e0f14e24dca9f2f12 +Subproject commit ecf84daa6554486a580225f8b498d2e645e50d64 diff --git a/src/ui/main.rs b/src/ui/main.rs index 96b422a..bc40ea4 100644 --- a/src/ui/main.rs +++ b/src/ui/main.rs @@ -362,7 +362,7 @@ impl App { let mut synced = false; - match applier.is_sync(&config.patch.servers) { + match applier.is_sync_with(&host) { Ok(true) => synced = true, Ok(false) => {