Skip to content

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

version 1.4.9

Predidit9805c34b063c
diff --git a/lib/pages/init_page.dart b/lib/pages/init_page.dart
index cad9ec62..9847f66a 100644
--- a/lib/pages/init_page.dart
+++ b/lib/pages/init_page.dart
@@ -130,9 +130,10 @@ class _InitPageState extends State<InitPage> {
}
}
- void _update() {
+ Future<void> _update() async {
bool autoUpdate = setting.get(SettingBoxKey.autoUpdate, defaultValue: true);
if (autoUpdate) {
+ await Future.delayed(const Duration(seconds: 1));
Modular.get<MyController>().checkUpdata(type: 'auto');
}
}
diff --git a/lib/request/api.dart b/lib/request/api.dart
index 6dc308bd..5f36bf08 100644
--- a/lib/request/api.dart
+++ b/lib/request/api.dart
@@ -1,6 +1,6 @@
class Api {
// 当前版本
- static const String version = '1.4.8';
+ static const String version = '1.4.9';
// 规则API级别
static const int apiLevel = 3;
// 项目主页
diff --git a/pubspec.yaml b/pubspec.yaml
index 63faff0b..fd12bafb 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
-version: 1.4.8+1
+version: 1.4.9+1
environment:
sdk: '>=3.3.4 <4.0.0'