mirror of
https://github.com/StarCitizenToolBox/app.git
synced 2026-02-06 15:10:20 +00:00
feat: unp4k supper search support
This commit is contained in:
@@ -261,7 +261,7 @@ class DcbViewerModel extends _$DcbViewerModel {
|
||||
state = state.copyWith(isSearching: true, fullTextSearchQuery: query, viewMode: DcbViewMode.searchResults);
|
||||
|
||||
try {
|
||||
final apiResults = await unp4k_api.dcbSearchAll(query: query, maxResults: BigInt.from(1000000));
|
||||
final apiResults = await unp4k_api.dcbSearchAll(query: query);
|
||||
|
||||
// 转换为本地数据类型
|
||||
final results = apiResults.map((r) {
|
||||
|
||||
@@ -41,7 +41,7 @@ final class DcbViewerModelProvider
|
||||
}
|
||||
}
|
||||
|
||||
String _$dcbViewerModelHash() => r'94c3542282f64917efadbe14a0ee4967220bec77';
|
||||
String _$dcbViewerModelHash() => r'f0af2a7b4451f746288e2c9565a418af80f58835';
|
||||
|
||||
abstract class _$DcbViewerModel extends $Notifier<DcbViewerState> {
|
||||
DcbViewerState build();
|
||||
|
||||
Reference in New Issue
Block a user