Compare commits

..

1 Commits

Author SHA1 Message Date
71aa42118d fix web analyzer (#327) 2023-11-26 09:43:23 +09:00
2 changed files with 3 additions and 5 deletions

View File

@ -219,10 +219,8 @@ class WebAnalyzer {
String? fallbackDescription;
if (res == null || isEmpty(res[2] as String?)) {
final String? commentText = await compute(
_fetchInfoFromStory,
<int>[story.id, ...story.kids],
);
final List<int> ids = <int>[story.id, ...story.kids];
final String? commentText = await _fetchInfoFromStory(ids);
shouldRetry = commentText == null;
fallbackDescription = commentText ?? 'no comment yet';

View File

@ -1,6 +1,6 @@
name: hacki
description: A Hacker News reader.
version: 2.4.1+132
version: 2.4.2+133
publish_to: none
environment: