fix:HomeUIModel

This commit is contained in:
2024-03-10 14:21:36 +08:00
parent c290e832a0
commit 6dfb6b3cb0
2 changed files with 3 additions and 3 deletions

View File

@ -253,9 +253,9 @@ class HomeUIModel extends _$HomeUIModel {
Future _loadRRS() async {
try {
final rssVideoItems = await RSSApi.getRssVideo();
state = state.copyWith(rssVideoItems: rssVideoItems);
final rssTextItems = await RSSApi.getRssText();
state = state.copyWith(
rssVideoItems: rssVideoItems, rssTextItems: rssTextItems);
state = state.copyWith(rssTextItems: rssTextItems);
dPrint("RSS update Success !");
} catch (e) {
dPrint("_loadRRS Error:$e");