diff --git a/Cargo.lock b/Cargo.lock index 755d29ed..0469f570 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -58,7 +58,7 @@ checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" [[package]] name = "anime-game-core" version = "1.17.2" -source = "git+https://github.com/an-anime-team/anime-game-core?tag=1.17.2#11b51441ed0390b7a5ba20e62e3c28a6886f8b97" +source = "git+https://github.com/an-anime-team/anime-game-core?tag=1.17.2#79fa0ea967b05efcbf19b2db4800ddd2b731c2c9" dependencies = [ "anyhow", "bzip2", @@ -3094,9 +3094,9 @@ dependencies = [ [[package]] name = "tracing-log" -version = "0.1.4" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f751112709b4e791d8ce53e32c4ed2d353565a795ce84da2285393f41557bdf2" +checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" dependencies = [ "log", "once_cell", @@ -3105,9 +3105,9 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.3.17" +version = "0.3.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30a651bc37f915e81f087d86e62a18eec5f79550c7faff886f7090b4ea757c77" +checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" dependencies = [ "nu-ansi-term", "sharded-slab", diff --git a/src/ui/preferences/general/mod.rs b/src/ui/preferences/general/mod.rs index 05db170e..0441a347 100644 --- a/src/ui/preferences/general/mod.rs +++ b/src/ui/preferences/general/mod.rs @@ -401,7 +401,8 @@ impl SimpleAsyncComponent for GeneralApp { JadeitePatchStatusVariant::Verified => &["success"], JadeitePatchStatusVariant::Unverified => &["warning"], JadeitePatchStatusVariant::Broken => &["error"], - JadeitePatchStatusVariant::Unsafe => &["error"] + JadeitePatchStatusVariant::Unsafe => &["error"], + JadeitePatchStatusVariant::Concerning => &["error"] } None => &[] @@ -414,6 +415,9 @@ impl SimpleAsyncComponent for GeneralApp { JadeitePatchStatusVariant::Broken => tr!("patch-broken-tooltip"), JadeitePatchStatusVariant::Unsafe => tr!("patch-unsafe-tooltip"), + // TODO: special tooltip for concerning status + JadeitePatchStatusVariant::Concerning => tr!("patch-unsafe-tooltip"), + _ => String::new() }