Skip to content

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

router fix on windows platform

Prediditd0d4b3f0b0de
diff --git a/lib/pages/about/about_page.dart b/lib/pages/about/about_page.dart
index 2dbbcd6d..2d81de48 100644
--- a/lib/pages/about/about_page.dart
+++ b/lib/pages/about/about_page.dart
@@ -31,7 +31,7 @@ class _AboutPageState extends State<AboutPage> {
void onBackPressed(BuildContext context) {
navigationBarState.showNavigate();
- Navigator.of(context).pop();
+ // Navigator.of(context).pop();
}
@override
@@ -40,7 +40,7 @@ class _AboutPageState extends State<AboutPage> {
navigationBarState.hideNavigate();
});
return PopScope(
- canPop: false,
+ canPop: true,
onPopInvoked: (bool didPop) async {
onBackPressed(context);
},
diff --git a/lib/pages/history/history_page.dart b/lib/pages/history/history_page.dart
index 5fb63e2f..edb7f1c4 100644
--- a/lib/pages/history/history_page.dart
+++ b/lib/pages/history/history_page.dart
@@ -35,7 +35,7 @@ class _HistoryPageState extends State<HistoryPage>
void onBackPressed(BuildContext context) {
navigationBarState.showNavigate();
- Navigator.of(context).pop();
+ // Navigator.of(context).pop();
}
@override
@@ -45,7 +45,7 @@ class _HistoryPageState extends State<HistoryPage>
});
return Observer(builder: (context) {
return PopScope(
- canPop: false,
+ canPop: true,
onPopInvoked: (bool didPop) async {
onBackPressed(context);
},
diff --git a/lib/pages/info/info_page.dart b/lib/pages/info/info_page.dart
index 65271b59..45f1d9d5 100644
--- a/lib/pages/info/info_page.dart
+++ b/lib/pages/info/info_page.dart
@@ -48,7 +48,7 @@ class _InfoPageState extends State<InfoPage>
void onBackPressed(BuildContext context) {
navigationBarState.showNavigate();
- Navigator.of(context).pop();
+ // Navigator.of(context).pop();
}
@override
@@ -65,7 +65,7 @@ class _InfoPageState extends State<InfoPage>
});
debugPrint('status 数组长度为 ${infoController.pluginSearchStatus.length}');
return PopScope(
- canPop: false,
+ canPop: true,
onPopInvoked: (bool didPop) {
onBackPressed(context);
},
diff --git a/lib/pages/plugin_editor/plugin_shop_page.dart b/lib/pages/plugin_editor/plugin_shop_page.dart
index 80d56661..e5722a80 100644
--- a/lib/pages/plugin_editor/plugin_shop_page.dart
+++ b/lib/pages/plugin_editor/plugin_shop_page.dart
@@ -22,7 +22,7 @@ class _PluginShopPageState extends State<PluginShopPage> {
final PluginsController pluginsController = Modular.get<PluginsController>();
void onBackPressed(BuildContext context) {
- Navigator.of(context).pop();
+ // Navigator.of(context).pop();
}
@override
@@ -38,7 +38,7 @@ class _PluginShopPageState extends State<PluginShopPage> {
navigationBarState.hideNavigate();
});
return PopScope(
- canPop: false,
+ canPop: true,
onPopInvoked: (bool didPop) {
onBackPressed(context);
},
diff --git a/lib/pages/plugin_editor/plugin_view_page.dart b/lib/pages/plugin_editor/plugin_view_page.dart
index e3d42515..8a6ad708 100644
--- a/lib/pages/plugin_editor/plugin_view_page.dart
+++ b/lib/pages/plugin_editor/plugin_view_page.dart
@@ -70,7 +70,7 @@ class _PluginViewPageState extends State<PluginViewPage> {
void onBackPressed(BuildContext context) {
navigationBarState.showNavigate();
- Navigator.of(context).pop();
+ // Navigator.of(context).pop();
}
@override
@@ -86,7 +86,7 @@ class _PluginViewPageState extends State<PluginViewPage> {
navigationBarState.hideNavigate();
});
return PopScope(
- canPop: false,
+ canPop: true,
onPopInvoked: (bool didPop) {
onBackPressed(context);
},
diff --git a/lib/pages/settings/danmaku_settings.dart b/lib/pages/settings/danmaku_settings.dart
index 61327dcf..ed80dfdf 100644
--- a/lib/pages/settings/danmaku_settings.dart
+++ b/lib/pages/settings/danmaku_settings.dart
@@ -38,7 +38,7 @@ class _DanmakuSettingsPageState extends State<DanmakuSettingsPage> {
void onBackPressed(BuildContext context) {
navigationBarState.showNavigate();
- Navigator.of(context).pop();
+ // Navigator.of(context).pop();
}
void updateDanmakuArea(double i) async {
@@ -68,7 +68,7 @@ class _DanmakuSettingsPageState extends State<DanmakuSettingsPage> {
navigationBarState.hideNavigate();
});
return PopScope(
- canPop: false,
+ canPop: true,
onPopInvoked: (bool didPop) async {
onBackPressed(context);
},