hotfix: current page reset to 1 rather than 0 which was causing empty page when refresh

This commit is contained in:
omkar 2025-01-12 16:53:26 +05:30
parent 2a2874fb3a
commit 3cfca5013b

View file

@ -159,7 +159,7 @@ class TraktContainerState extends State<TraktContainer> {
try {
_logger.info('Refreshing data for ${widget.loadId}');
_cachedItems = [];
_currentPage = 0;
_currentPage = 1;
await _loadData();
} catch (e) {}
}