Skip to content

基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。

chore: tiny ui improvement

Predidit4f67b999b97e
diff --git a/lib/pages/plugin_editor/plugin_editor_page.dart b/lib/pages/plugin_editor/plugin_editor_page.dart
index daad0a72..fe96c817 100644
--- a/lib/pages/plugin_editor/plugin_editor_page.dart
+++ b/lib/pages/plugin_editor/plugin_editor_page.dart
@@ -129,6 +129,7 @@ class _PluginEditorPageState extends State<PluginEditorPage> {
const SizedBox(height: 20),
ExpansionTile(
title: const Text('高级选项'),
+ shape: const RoundedRectangleBorder(borderRadius: BorderRadius.zero),
children: [
SwitchListTile(
title: const Text('简易解析'),
diff --git a/lib/pages/plugin_editor/plugin_test_page.dart b/lib/pages/plugin_editor/plugin_test_page.dart
index 36d03ee6..49311d1c 100644
--- a/lib/pages/plugin_editor/plugin_test_page.dart
+++ b/lib/pages/plugin_editor/plugin_test_page.dart
@@ -193,7 +193,7 @@ class _PluginTestPageState extends State<PluginTestPage> {
theme: theme,
title: '1. 搜索请求测试',
subtitle: _getSearchSubtitle(),
- expanded: true,
+ expanded: false,
child: _buildSearchContent(theme),
),
_h12,
diff --git a/lib/pages/search/search_page.dart b/lib/pages/search/search_page.dart
index d732d50b..e0571ee7 100644
--- a/lib/pages/search/search_page.dart
+++ b/lib/pages/search/search_page.dart
@@ -59,14 +59,21 @@ class _SearchPageState extends State<SearchPage> {
Widget showFilterSwitcher() {
return Wrap(
children: [
- ListTile(
- title: const Text('不显示已看过的番剧'),
- trailing: Observer(
- builder: (context) => Switch(
+ Observer(
+ builder: (context) => InkWell(
+ onTap: () {
+ searchPageController.setNotShowWatchedBangumis(
+ !searchPageController.notShowWatchedBangumis);
+ },
+ child: ListTile(
+ title: const Text('不显示已看过的番剧'),
+ trailing: Switch(
value: searchPageController.notShowWatchedBangumis,
onChanged: (value) {
searchPageController.setNotShowWatchedBangumis(value);
- }),
+ },
+ ),
+ ),
),
),
],