mirror of
https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation.git
synced 2026-08-09 15:19:11 +02:00
feat(gui/list): allow searching in descriptions (#977)
Search by description as well as by name --------- Co-authored-by: Rudxain <76864299+Rudxain@users.noreply.github.com>
This commit is contained in:
parent
ade70a121a
commit
6f9e70b647
1 changed files with 3 additions and 1 deletions
|
|
@ -850,7 +850,9 @@ impl List {
|
|||
(list_filter == UadList::All || p.uad_list == list_filter)
|
||||
&& (package_filter == PackageState::All || p.state == package_filter)
|
||||
&& (removal_filter == Removal::All || p.removal == removal_filter)
|
||||
&& (self.input_value.is_empty() || p.name.contains(&self.input_value))
|
||||
&& (self.input_value.is_empty()
|
||||
|| p.name.contains(&self.input_value)
|
||||
|| p.description.contains(&self.input_value))
|
||||
})
|
||||
.map(|(i, _)| i)
|
||||
.collect();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue