Skip to content

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

version 1.5.6

Predidita22b6748929b
diff --git a/lib/pages/init_page.dart b/lib/pages/init_page.dart
index 63cb7505..48a8b577 100644
--- a/lib/pages/init_page.dart
+++ b/lib/pages/init_page.dart
@@ -33,9 +33,9 @@ class _InitPageState extends State<InitPage> {
void initState() {
_pluginInit();
_webDavInit();
- _update();
_migrateStorage();
_loadShaders();
+ _update();
themeProvider = Provider.of<ThemeProvider>(context, listen: false);
super.initState();
}
@@ -191,11 +191,11 @@ class _InitPageState extends State<InitPage> {
Future<void> _update() async {
// Don't check update when there is no plugin.
// We will progress init workflow instead.
+ await Future.delayed(const Duration(seconds: 1));
if (pluginsController.pluginList.isNotEmpty) {
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 e1fa6cd7..5ef25f62 100644
--- a/lib/request/api.dart
+++ b/lib/request/api.dart
@@ -1,6 +1,6 @@
class Api {
// 当前版本
- static const String version = '1.5.5';
+ static const String version = '1.5.6';
// 规则API级别
static const int apiLevel = 3;
// 项目主页
diff --git a/pubspec.yaml b/pubspec.yaml
index e4fba342..c51f8d6e 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.5.5+10505
+version: 1.5.6+10506
environment:
sdk: '>=3.3.4 <4.0.0'