diff --git a/Cargo.lock b/Cargo.lock index 62ba91d..7da804b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1675,7 +1675,7 @@ checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54" [[package]] name = "nix-data" version = "0.0.2" -source = "git+https://github.com/snowflakelinux/nix-data#8185976098e741698a625f3d90c13c3a66da74a9" +source = "git+https://github.com/snowflakelinux/nix-data#31f6997311a16f9661820d8b5f74f41aa3d64eb7" dependencies = [ "anyhow", "brotli", @@ -2957,9 +2957,9 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "1.8.0" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9724f9a975fb987ef7a3cd9be0350edcbe130698af5b8f7a631e23d42d052484" +checksum = "d266c00fde287f55d3f1c3e96c500c362a2b8c695076ec180f27918820bc6df8" dependencies = [ "proc-macro2", "quote", diff --git a/default.nix b/default.nix index c86cfde..748774f 100644 --- a/default.nix +++ b/default.nix @@ -20,7 +20,7 @@ pkgs.stdenv.mkDerivation rec { cargoDeps = pkgs.rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; - hash = "sha256-FSSqtcjaUInx/dG1/k06XL9beG1vJBMnuWrhybi5n3g="; + hash = "sha256-wvHw9EI0q2jBjzCUMVifeO7u1NGJesqFEWPmVhBMBW0="; }; nativeBuildInputs = with pkgs; [ diff --git a/src/ui/pkgpage.rs b/src/ui/pkgpage.rs index 482a46d..f6c9248 100644 --- a/src/ui/pkgpage.rs +++ b/src/ui/pkgpage.rs @@ -1401,6 +1401,7 @@ impl Component for PkgModel { } } PkgMsg::FinishedProcess(work) => { + let _ = nix_data::utils::refreshicons(); self.workqueue.remove(&work); trace!("WORK QUEUE: {}", self.workqueue.len()); match work.pkgtype { diff --git a/src/ui/updatepage.rs b/src/ui/updatepage.rs index f839e78..a99a2d4 100644 --- a/src/ui/updatepage.rs +++ b/src/ui/updatepage.rs @@ -409,6 +409,7 @@ impl SimpleComponent for UpdatePageModel { self.updateworker.emit(UpdateAsyncHandlerMsg::UpdateAllRemove(userpkgs, syspkgs)); } UpdatePageMsg::DoneWorking => { + let _ = nix_data::utils::refreshicons(); REBUILD_BROKER.send(RebuildMsg::FinishSuccess); sender.output(AppMsg::UpdateInstalledPkgs); }