mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-24 11:06:51 +08:00
mod: 详情页横屏布局(bug很多不要下载!)
This commit is contained in:
@@ -10,12 +10,10 @@ class SeasonPanel extends StatefulWidget {
|
||||
super.key,
|
||||
required this.ugcSeason,
|
||||
this.cid,
|
||||
this.sheetHeight,
|
||||
this.changeFuc,
|
||||
});
|
||||
final UgcSeason ugcSeason;
|
||||
final int? cid;
|
||||
final double? sheetHeight;
|
||||
final Function? changeFuc;
|
||||
|
||||
@override
|
||||
@@ -104,7 +102,7 @@ class _SeasonPanelState extends State<SeasonPanel> {
|
||||
itemScrollController.jumpTo(index: currentIndex);
|
||||
});
|
||||
return Container(
|
||||
height: widget.sheetHeight,
|
||||
height: context.height.abs() * 0.7,
|
||||
color: Theme.of(context).colorScheme.background,
|
||||
child: Column(
|
||||
children: [
|
||||
|
||||
Reference in New Issue
Block a user