Skip to content

Commit

Permalink
ohos version 1.5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ErBWs committed Feb 8, 2025
1 parent 1b51dca commit 05201ed
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/pages/init_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ class _InitPageState extends State<InitPage> {
void initState() {
_pluginInit();
_webDavInit();
_update();
_migrateStorage();
_update();
themeProvider = Provider.of<ThemeProvider>(context, listen: false);
super.initState();
}
Expand Down Expand Up @@ -184,11 +184,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');
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/request/api.dart
Original file line number Diff line number Diff line change
@@ -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;
// 项目主页
Expand Down
4 changes: 2 additions & 2 deletions ohos/AppScope/app.json5
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"app": {
"bundleName": "com.predidit.kazumi",
"vendor": "example",
"versionCode": 10505,
"versionName": "1.5.5",
"versionCode": 10506,
"versionName": "1.5.6",
"icon": "$media:app_icon",
"label": "$string:app_name"
}
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 05201ed

Please sign in to comment.