mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 08:08:19 +08:00
@@ -77,7 +77,7 @@ class _LiveAreaChildPageState extends State<LiveAreaChildPage>
|
||||
itemBuilder: (context, index) => const VideoCardVSkeleton(),
|
||||
itemCount: 10,
|
||||
),
|
||||
Success(:var response) => SliverMainAxisGroup(
|
||||
Success(:final response) => SliverMainAxisGroup(
|
||||
slivers: [
|
||||
if (_controller.newTags?.isNotEmpty == true)
|
||||
SliverToBoxAdapter(
|
||||
@@ -131,7 +131,7 @@ class _LiveAreaChildPageState extends State<LiveAreaChildPage>
|
||||
: HttpError(onReload: _controller.onReload),
|
||||
],
|
||||
),
|
||||
Error(:var errMsg) => HttpError(
|
||||
Error(:final errMsg) => HttpError(
|
||||
errMsg: errMsg,
|
||||
onReload: _controller.onReload,
|
||||
),
|
||||
|
||||
@@ -65,7 +65,7 @@ class _LiveAreaDetailPageState extends State<LiveAreaDetailPage> {
|
||||
) {
|
||||
return switch (loadingState) {
|
||||
Loading() => const SizedBox.shrink(),
|
||||
Success(:var response) =>
|
||||
Success(:final response) =>
|
||||
response != null && response.isNotEmpty
|
||||
? DefaultTabController(
|
||||
initialIndex: _controller.initialIndex,
|
||||
|
||||
Reference in New Issue
Block a user