Version 1.8.0-beta.5

Fix search when stream is present.
This commit is contained in:
Mattia 2021-03-04 10:57:47 +01:00
parent b6590c5698
commit a5c930b69c
2 changed files with 4 additions and 1 deletions

View File

@ -270,7 +270,7 @@ class _InitialData {
int.parse(_parseRuns(renderer.videoCountText.runs)
.stripNonDigits()
.nullIfWhitespace ??
0));
'0'));
}
// Here ignore 'horizontalCardListRenderer' & 'shelfRenderer'
return null;

View File

@ -49,6 +49,9 @@ class SearchList extends DelegatingList<Video> {
}
var parts = string.split(' ');
if (parts.length == 4) { // Streamed x y ago
parts = parts.skip(1).toList();
}
assert(parts.length == 3);
var qty = int.parse(parts.first);