mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-16 14:20:13 +08:00
@@ -28,6 +28,7 @@ class AiConclusionPanel extends CommonSlidePage {
|
||||
}) {
|
||||
return CustomScrollView(
|
||||
key: key,
|
||||
shrinkWrap: !tap,
|
||||
physics: const AlwaysScrollableScrollPhysics(),
|
||||
slivers: [
|
||||
if (res.summary?.isNotEmpty == true) ...[
|
||||
@@ -57,7 +58,7 @@ class AiConclusionPanel extends CommonSlidePage {
|
||||
padding: EdgeInsets.only(
|
||||
left: 14,
|
||||
right: 14,
|
||||
bottom: MediaQuery.viewPaddingOf(context).bottom + 100,
|
||||
bottom: !tap ? 0 : MediaQuery.viewPaddingOf(context).bottom + 100,
|
||||
),
|
||||
sliver: SliverList.builder(
|
||||
itemCount: res.outline!.length,
|
||||
|
||||
@@ -47,13 +47,13 @@ class VideoReplyReplyPanel extends CommonSlidePage {
|
||||
@override
|
||||
State<VideoReplyReplyPanel> createState() => _VideoReplyReplyPanelState();
|
||||
|
||||
static Future<void>? toReply(
|
||||
int oid,
|
||||
int rootId,
|
||||
static Future<void>? toReply({
|
||||
required int oid,
|
||||
required int rootId,
|
||||
String? rpIdStr,
|
||||
int type,
|
||||
required int type,
|
||||
Uri? uri,
|
||||
) {
|
||||
}) {
|
||||
final rpId = rpIdStr == null ? null : int.tryParse(rpIdStr);
|
||||
return Get.to(
|
||||
arguments: {
|
||||
|
||||
@@ -1370,7 +1370,7 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
|
||||
child = plPlayer(width: maxWidth, height: maxHeight, isPipMode: true);
|
||||
} else if (!videoDetailController.horizontalScreen) {
|
||||
child = childWhenDisabled;
|
||||
} else if (maxWidth > maxHeight * kScreenRatio) {
|
||||
} else if (maxWidth / maxHeight >= kScreenRatio) {
|
||||
child = childWhenDisabledLandscape;
|
||||
} else if (maxWidth * (9 / 16) < (2 / 5) * maxHeight) {
|
||||
child = childWhenDisabled;
|
||||
@@ -1742,7 +1742,7 @@ class _VideoDetailPageVState extends State<VideoDetailPageV>
|
||||
showEpisodes: showEpisodes,
|
||||
onShowMemberPage: onShowMemberPage,
|
||||
isPortrait: isPortrait,
|
||||
isHorizontal: isHorizontal ?? width! > height! * kScreenRatio,
|
||||
isHorizontal: isHorizontal ?? width! / height! >= kScreenRatio,
|
||||
),
|
||||
if (needRelated &&
|
||||
videoDetailController
|
||||
|
||||
Reference in New Issue
Block a user