Skip to content

Commit 797d89d

Browse files
committed
依赖升级
1 parent 3d32817 commit 797d89d

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.github/workflows/flutter-web-deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: flutter_deer web deploy
55
on:
66
push:
77
paths:
8-
- 'pubspec.yaml'
8+
- 'pubspec1.yaml'
99

1010
jobs:
1111
web_build_and_deploy:

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
**/android/gradlew.bat
3838
**/android/local.properties
3939
**/android/**/GeneratedPluginRegistrant.java
40+
**/android/app/.cxx
4041

4142
# iOS/XCode related
4243
**/ios/**/*.mode1v3

lib/account/widgets/withdrawal_password_setting.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ class _WithdrawalPasswordSettingState extends State<WithdrawalPasswordSetting> {
153153
});
154154

155155
/// 点击时给予振动反馈
156-
if (!Device.isDesktop && (await Vibration.hasVibrator() ?? false)) {
156+
if (!Device.isDesktop && await Vibration.hasVibrator()) {
157157
Vibration.vibrate(duration: 10);
158158
}
159159
},

pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dependencies:
2323
# Toast插件 https://github.com/OpenFlutter/flutter_oktoast
2424
oktoast: ^3.4.0
2525
# 网络库 https://github.com/cfug/dio
26-
dio: ^5.7.0
26+
dio: ^5.8.0+1
2727
# https://github.com/ReactiveX/rxdart
2828
rxdart: ^0.28.0
2929
# Dart 常用工具类库 https://github.com/Sky24n/common_utils
@@ -61,7 +61,7 @@ dependencies:
6161
# App Shortcuts https://github.com/flutter/packages/tree/main/packages/quick_actions
6262
quick_actions: 1.1.0
6363
# 振动 https://github.com/benjamindean/flutter_vibration
64-
vibration: 2.0.0
64+
vibration: 3.1.3
6565
vibration_web: 1.6.8
6666
# 获取当前设备信息 https://github.com/fluttercommunity/plus_plugins/tree/main/packages/device_info_plus
6767
device_info_plus: 11.1.1

0 commit comments

Comments
 (0)