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; String? fallbackDescription;
if (res == null || isEmpty(res[2] as String?)) { if (res == null || isEmpty(res[2] as String?)) {
final String? commentText = await compute( final List<int> ids = <int>[story.id, ...story.kids];
_fetchInfoFromStory, final String? commentText = await _fetchInfoFromStory(ids);
<int>[story.id, ...story.kids],
);
shouldRetry = commentText == null; shouldRetry = commentText == null;
fallbackDescription = commentText ?? 'no comment yet'; fallbackDescription = commentText ?? 'no comment yet';

View File

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