mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-18 15:52:30 +02:00
perf(search): decode large extension results off the UI isolate
This commit is contained in:
@@ -1826,7 +1826,10 @@ class PlatformBridge {
|
||||
'options': optionsJson,
|
||||
'request_id': requestId,
|
||||
});
|
||||
final decoded = _decodeMapListResult(result, 'customSearchWithExtension');
|
||||
final decoded = await _decodeMapListResultAsync(
|
||||
result,
|
||||
'customSearchWithExtension',
|
||||
);
|
||||
if (generation == _lookupCacheGeneration &&
|
||||
_customSearchInFlight[cacheKey]?.requestId == requestId) {
|
||||
_putMemoryCachedMapList(
|
||||
|
||||
Reference in New Issue
Block a user