mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-13 11:58:54 +03:30
fix bugs!
This commit is contained in:
@@ -247,7 +247,24 @@ class PackageProvider extends ChangeNotifier {
|
||||
items = [];
|
||||
searchBoxValue = value;
|
||||
originalItems!.forEach((result) {
|
||||
if (result.id.toString().contains(searchBoxValue)) {
|
||||
if (
|
||||
result.id
|
||||
.toString()
|
||||
.toLowerCase()
|
||||
.contains(searchBoxValue.toLowerCase()) ||
|
||||
result.id
|
||||
.toString()
|
||||
.toUpperCase()
|
||||
.contains(searchBoxValue.toUpperCase()) ||
|
||||
result.id
|
||||
.toString()
|
||||
.toLowerCase()
|
||||
.contains(searchBoxValue.toUpperCase()) ||
|
||||
result.id
|
||||
.toString()
|
||||
.toUpperCase()
|
||||
.contains(searchBoxValue.toLowerCase())
|
||||
) {
|
||||
items!.add(result);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user