From 50d55e3ace6504183a6eaa980e45c5732b625f4f Mon Sep 17 00:00:00 2001 From: nyx Date: Sun, 8 Dec 2024 02:59:09 -0500 Subject: [PATCH] remove if results.is_empty() conditional (#158) --- src/search.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/search.rs b/src/search.rs index e994879..7a9c491 100644 --- a/src/search.rs +++ b/src/search.rs @@ -248,10 +248,7 @@ pub async fn search_applications( results.push(create_calc_entry(&query)); } - if results.is_empty() - && web_search_config.enabled - && !should_exclude_web_search(&query) - { + if web_search_config.enabled && !should_exclude_web_search(&query) { results.push(create_web_search_entry(&query, &web_search_config)); }