mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-29 13:50:21 +08:00
@@ -357,13 +357,9 @@ class VideoDetailController extends GetxController
|
||||
}
|
||||
} catch (_) {}
|
||||
} else if (isLoadPrevious) {
|
||||
if (data.mediaList?.isNotEmpty == true) {
|
||||
mediaList.insertAll(0, data.mediaList!);
|
||||
}
|
||||
mediaList.insertAll(0, data.mediaList!);
|
||||
} else {
|
||||
if (data.mediaList?.isNotEmpty == true) {
|
||||
mediaList.addAll(data.mediaList!);
|
||||
}
|
||||
mediaList.addAll(data.mediaList!);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
@@ -1477,7 +1473,7 @@ class VideoDetailController extends GetxController
|
||||
} catch (_) {}
|
||||
}
|
||||
|
||||
if (GStorage.showViewPoints && playInfo.viewPoints?.isNotEmpty == true) {
|
||||
if (playInfo.viewPoints?.isNotEmpty == true && GStorage.showViewPoints) {
|
||||
try {
|
||||
viewPointList = playInfo.viewPoints!.map((item) {
|
||||
double start =
|
||||
|
||||
@@ -416,13 +416,14 @@ class _BangumiIntroPanelState extends State<BangumiIntroPanel>
|
||||
return Row(
|
||||
spacing: 6,
|
||||
children: [
|
||||
Text(
|
||||
(bangumiItem.areas!.isNotEmpty ? bangumiItem.areas!.first.name! : ''),
|
||||
style: TextStyle(
|
||||
fontSize: 12,
|
||||
color: theme.colorScheme.outline,
|
||||
if (bangumiItem.areas?.isNotEmpty == true)
|
||||
Text(
|
||||
bangumiItem.areas!.first.name!,
|
||||
style: TextStyle(
|
||||
fontSize: 12,
|
||||
color: theme.colorScheme.outline,
|
||||
),
|
||||
),
|
||||
),
|
||||
Text(
|
||||
bangumiItem.publish!.pubTimeShow!,
|
||||
style: TextStyle(
|
||||
|
||||
@@ -259,7 +259,7 @@ class _MediaListPanelState
|
||||
],
|
||||
),
|
||||
),
|
||||
if (showDelBtn && isCurr)
|
||||
if (showDelBtn && !isCurr)
|
||||
Positioned(
|
||||
right: 12,
|
||||
bottom: -6,
|
||||
|
||||
@@ -54,37 +54,39 @@ class _NoteListPageState extends CommonSlidePageState<NoteListPage> {
|
||||
Widget buildPage(ThemeData theme) {
|
||||
return Scaffold(
|
||||
key: _key,
|
||||
resizeToAvoidBottomInset: false,
|
||||
body: Scaffold(
|
||||
backgroundColor: Colors.transparent,
|
||||
resizeToAvoidBottomInset: false,
|
||||
appBar: AppBar(
|
||||
automaticallyImplyLeading: false,
|
||||
titleSpacing: 16,
|
||||
toolbarHeight: 45,
|
||||
title: Obx(
|
||||
() => Text(
|
||||
'笔记${_controller.count.value == -1 ? '' : '(${_controller.count.value})'}'),
|
||||
),
|
||||
bottom: PreferredSize(
|
||||
preferredSize: const Size.fromHeight(1),
|
||||
child: Divider(
|
||||
height: 1,
|
||||
color: theme.colorScheme.outline.withValues(alpha: 0.1),
|
||||
body: Column(
|
||||
children: [
|
||||
SizedBox(
|
||||
height: 45,
|
||||
child: AppBar(
|
||||
automaticallyImplyLeading: false,
|
||||
titleSpacing: 16,
|
||||
toolbarHeight: 45,
|
||||
title: Obx(
|
||||
() => Text(
|
||||
'笔记${_controller.count.value == -1 ? '' : '(${_controller.count.value})'}'),
|
||||
),
|
||||
bottom: PreferredSize(
|
||||
preferredSize: const Size.fromHeight(1),
|
||||
child: Divider(
|
||||
height: 1,
|
||||
color: theme.colorScheme.outline.withValues(alpha: 0.1),
|
||||
),
|
||||
),
|
||||
actions: [
|
||||
iconButton(
|
||||
context: context,
|
||||
tooltip: '关闭',
|
||||
icon: Icons.clear,
|
||||
onPressed: Get.back,
|
||||
size: 32,
|
||||
),
|
||||
const SizedBox(width: 16),
|
||||
],
|
||||
),
|
||||
),
|
||||
actions: [
|
||||
iconButton(
|
||||
context: context,
|
||||
tooltip: '关闭',
|
||||
icon: Icons.clear,
|
||||
onPressed: Get.back,
|
||||
size: 32,
|
||||
),
|
||||
const SizedBox(width: 16),
|
||||
],
|
||||
),
|
||||
body: enableSlide ? slideList(theme) : buildList(theme),
|
||||
Expanded(child: enableSlide ? slideList(theme) : buildList(theme))
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -35,7 +35,6 @@ class _ViewPointsPageState
|
||||
@override
|
||||
Widget buildPage(ThemeData theme) {
|
||||
return Scaffold(
|
||||
resizeToAvoidBottomInset: false,
|
||||
appBar: AppBar(
|
||||
automaticallyImplyLeading: false,
|
||||
titleSpacing: 16,
|
||||
|
||||
Reference in New Issue
Block a user