cleanup code
This commit is contained in:
@@ -57,7 +57,7 @@ class PackageDataProvider {
|
||||
}
|
||||
|
||||
Future<List<Package>?> ftsSearchPackage(String term) async {
|
||||
if (term == null || term == '') return [];
|
||||
if (term == '') return [];
|
||||
|
||||
var bytes = utf8.encode(term);
|
||||
var base64Str = base64.encode(bytes);
|
||||
@@ -86,8 +86,7 @@ class PackageDataProvider {
|
||||
}
|
||||
|
||||
Future<List<Package>> searchPackage(String term) async {
|
||||
if (term == null || term == '') return [];
|
||||
|
||||
if (term == '') return [];
|
||||
List<Package> packages = [];
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user