opt: sealed LoadingState (#765)

This commit is contained in:
My-Responsitories
2025-04-27 22:17:36 +08:00
committed by GitHub
parent d4d1602b45
commit bb6bd95e9b
54 changed files with 16 additions and 61 deletions

View File

@@ -89,7 +89,6 @@ class _FavArticlePageState extends State<FavArticlePage>
errMsg: loadingState.errMsg,
onReload: _favArticleController.onReload,
),
LoadingState() => throw UnimplementedError(),
};
}
}

View File

@@ -171,7 +171,6 @@ class _FavNoteChildPageState extends State<FavNoteChildPage>
errMsg: loadingState.errMsg,
onReload: _favNoteController.onReload,
),
LoadingState() => throw UnimplementedError(),
};
}

View File

@@ -217,7 +217,6 @@ class _FavPgcChildPageState extends State<FavPgcChildPage>
errMsg: loadingState.errMsg,
onReload: _favPgcController.onReload,
),
LoadingState() => throw UnimplementedError(),
};
}

View File

@@ -104,7 +104,6 @@ class _FavVideoPageState extends State<FavVideoPage>
errMsg: loadingState.errMsg,
onReload: _favController.onReload,
),
LoadingState() => throw UnimplementedError(),
};
}
}