added fileFetchedAt to TickerPageResponse and updated the Ticker UI to use it as the data currency timestamp for proxied files
This commit is contained in:
@@ -94,7 +94,9 @@ class _TickerPageContentState extends State<_TickerPageContent> {
|
||||
case TickerPageKind.proxiedFile:
|
||||
return Column(
|
||||
children: [
|
||||
TickerUpdatedBar(publishedAt: page.publishedAt),
|
||||
// For proxied files the data currency is the last successful
|
||||
// proxy fetch, not the page's publish date.
|
||||
TickerUpdatedBar(publishedAt: page.fileFetchedAt ?? page.publishedAt),
|
||||
Expanded(
|
||||
child: _ProxiedFileView(
|
||||
repo: context.read<TickerPageBloc>().repo,
|
||||
|
||||
Reference in New Issue
Block a user