Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-03-17 17:09:24 +08:00
parent 7f2682bb7b
commit d1497115da
27 changed files with 118 additions and 141 deletions

View File

@@ -83,7 +83,7 @@ class _PgcPageState extends State<PgcPage> with AutomaticKeepAliveClientMixin {
ThemeData theme,
LoadingState<List<TimelineResult>?> loadingState,
) => switch (loadingState) {
Loading() => loadingWidget,
Loading() => circularLoading,
Success(:final response) =>
response != null && response.isNotEmpty
? Builder(
@@ -397,7 +397,7 @@ class _PgcPageState extends State<PgcPage> with AutomaticKeepAliveClientMixin {
Widget _buildFollowBody(LoadingState<List<FavPgcItemModel>?> loadingState) {
return switch (loadingState) {
Loading() => loadingWidget,
Loading() => circularLoading,
Success(:final response) =>
response != null && response.isNotEmpty
? ListView.builder(