mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-27 04:40:15 +08:00
@@ -65,10 +65,7 @@ class _BlackListPageState extends State<BlackListPage> {
|
||||
Widget _buildBody(LoadingState<List<BlackListItem>?> loadingState) {
|
||||
late final style = TextStyle(color: Theme.of(context).colorScheme.outline);
|
||||
return switch (loadingState) {
|
||||
Loading() => SliverList.builder(
|
||||
itemCount: 12,
|
||||
itemBuilder: (context, index) => const MsgFeedTopSkeleton(),
|
||||
),
|
||||
Loading() => sysFeedSkeleton,
|
||||
Success(:final response) =>
|
||||
response != null && response.isNotEmpty
|
||||
? SliverList.builder(
|
||||
|
||||
Reference in New Issue
Block a user