Browse Source

修复打开蓝牙设置

newdev_shunjiawei
lxm 2 years ago
parent
commit
3f3879e5d1
  1. 2
      lib/data/services/classic_bluetooth_service.dart

2
lib/data/services/classic_bluetooth_service.dart

@ -421,7 +421,7 @@ class ClassicBluetoothService extends GetxService {
/// 打开蓝牙设置 /// 打开蓝牙设置
Future<bool> openBluetoothSettings() async { Future<bool> openBluetoothSettings() async {
try { try {
await AppSettings.openAppSettings(); await AppSettings.openAppSettings(type: AppSettingsType.bluetooth);
return true; return true;
} catch (e) { } catch (e) {
Logger.error('打开蓝牙设置失败: $e'); Logger.error('打开蓝牙设置失败: $e');

Loading…
Cancel
Save