m3e loading indicator

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-03-17 22:02:26 +08:00
parent d1497115da
commit 9b1ae39922
21 changed files with 275 additions and 19 deletions

View File

@@ -83,7 +83,7 @@ class _PgcPageState extends State<PgcPage> with AutomaticKeepAliveClientMixin {
ThemeData theme,
LoadingState<List<TimelineResult>?> loadingState,
) => switch (loadingState) {
Loading() => circularLoading,
Loading() => m3eLoading,
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() => circularLoading,
Loading() => m3eLoading,
Success(:final response) =>
response != null && response.isNotEmpty
? ListView.builder(