|
|
@ -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'); |
|
|
|