From cd10e6fa6165a465814bc2d483611f77ef8bfd20 Mon Sep 17 00:00:00 2001 From: Ryan Brue Date: Sat, 27 Apr 2024 17:14:01 -0500 Subject: [PATCH] fix: if previously not found, still look up icon This fixes the case where an icon was previously looked up, not found, and now exists (i.e. when an application was installed) --- src/lib.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 5218185..22d84c7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -227,10 +227,7 @@ impl<'a> LookupBuilder<'a> { CacheEntry::Found(icon) => { return Some(icon); } - CacheEntry::NotFound => { - return None; - } - CacheEntry::Unknown => {} + _ => {} }; }