Skip to content

Commit 35fbab2

Browse files
committed
Update bluetooth.rs
1 parent bf93e0f commit 35fbab2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bluetooth.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ use windows_sys::Win32::{
2424
use crate::{
2525
config::Config,
2626
language::{Language, Localization},
27-
notify::{app_notify, notify},
27+
notify::notify,
2828
};
2929

3030
#[allow(non_upper_case_globals)]
@@ -117,7 +117,7 @@ fn get_btc_info(btc_devices: Vec<BluetoothDevice>) -> Result<HashSet<BluetoothIn
117117

118118
btc_devices.into_iter().for_each(|btc_device| {
119119
let _ = process_btc_device(btc_device, &pnp_btc_devices_info)
120-
.inspect_err(|e| app_notify(format!("{e}")))
120+
.inspect_err(|e| println!("{e}"))
121121
.is_ok_and(|bt_info| devices_info.insert(bt_info));
122122
});
123123

@@ -131,7 +131,7 @@ fn get_ble_info(ble_devices: Vec<BluetoothLEDevice>) -> Result<HashSet<Bluetooth
131131

132132
results.into_iter().for_each(|r_ble_info| {
133133
let _ = r_ble_info
134-
.inspect_err(|e| app_notify(format!("{e}")))
134+
.inspect_err(|e| println!("{e}"))
135135
.is_ok_and(|bt_info| devices_info.insert(bt_info));
136136
});
137137

0 commit comments

Comments
 (0)