feat: fav topic

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-17 21:55:36 +08:00
parent 1d4eabb770
commit d7eb734aaf
55 changed files with 1509 additions and 500 deletions

View File

@@ -205,7 +205,7 @@ class _PgcIndexPageState extends State<PgcIndexPage>
Widget _buildList(LoadingState<List<dynamic>?> loadingState) {
return switch (loadingState) {
Loading() => const HttpError(errMsg: '加载中'),
Loading() => const SliverToBoxAdapter(child: LinearProgressIndicator()),
Success(:var response) => response?.isNotEmpty == true
? SliverGrid(
gridDelegate: SliverGridDelegateWithExtentAndRatio(