mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-24 19:20:15 +08:00
@@ -66,12 +66,7 @@ class _SysMsgPageState extends State<SysMsgPage> {
|
||||
color: Colors.grey.withValues(alpha: 0.1),
|
||||
);
|
||||
return switch (loadingState) {
|
||||
Loading() => ViewSliverSafeArea(
|
||||
sliver: SliverList.builder(
|
||||
itemCount: 12,
|
||||
itemBuilder: (context, index) => const MsgFeedSysMsgSkeleton(),
|
||||
),
|
||||
),
|
||||
Loading() => const ViewSliverSafeArea(sliver: sysMsgSkeleton),
|
||||
Success(:final response) =>
|
||||
response != null && response.isNotEmpty
|
||||
? SliverList.separated(
|
||||
|
||||
Reference in New Issue
Block a user