Skip to content

Commit

Permalink
依赖升级
Browse files Browse the repository at this point in the history
  • Loading branch information
simplezhli committed Feb 26, 2025
1 parent 3d32817 commit 797d89d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/flutter-web-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: flutter_deer web deploy
on:
push:
paths:
- 'pubspec.yaml'
- 'pubspec1.yaml'

jobs:
web_build_and_deploy:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
**/android/gradlew.bat
**/android/local.properties
**/android/**/GeneratedPluginRegistrant.java
**/android/app/.cxx

# iOS/XCode related
**/ios/**/*.mode1v3
Expand Down
2 changes: 1 addition & 1 deletion lib/account/widgets/withdrawal_password_setting.dart
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class _WithdrawalPasswordSettingState extends State<WithdrawalPasswordSetting> {
});

/// 点击时给予振动反馈
if (!Device.isDesktop && (await Vibration.hasVibrator() ?? false)) {
if (!Device.isDesktop && await Vibration.hasVibrator()) {
Vibration.vibrate(duration: 10);
}
},
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies:
# Toast插件 https://github.com/OpenFlutter/flutter_oktoast
oktoast: ^3.4.0
# 网络库 https://github.com/cfug/dio
dio: ^5.7.0
dio: ^5.8.0+1
# https://github.com/ReactiveX/rxdart
rxdart: ^0.28.0
# Dart 常用工具类库 https://github.com/Sky24n/common_utils
Expand Down Expand Up @@ -61,7 +61,7 @@ dependencies:
# App Shortcuts https://github.com/flutter/packages/tree/main/packages/quick_actions
quick_actions: 1.1.0
# 振动 https://github.com/benjamindean/flutter_vibration
vibration: 2.0.0
vibration: 3.1.3
vibration_web: 1.6.8
# 获取当前设备信息 https://github.com/fluttercommunity/plus_plugins/tree/main/packages/device_info_plus
device_info_plus: 11.1.1
Expand Down

0 comments on commit 797d89d

Please sign in to comment.