diff --git a/src/components/bluetooth/bluetooth_entry.rs b/src/components/bluetooth/bluetooth_entry.rs index 58f4aff..91e0487 100644 --- a/src/components/bluetooth/bluetooth_entry.rs +++ b/src/components/bluetooth/bluetooth_entry.rs @@ -3,7 +3,6 @@ use std::time::Duration; use crate::components::bluetooth::bluetooth_entry_impl; use adw::glib::Object; -use adw::prelude::ActionRowExt; use adw::subclass::prelude::ObjectSubclassIsExt; use adw::{glib, ActionRow}; use dbus::blocking::Connection; @@ -29,7 +28,10 @@ impl BluetoothEntry { .reset_bluetooth_label .get() .set_text(&device.alias); - entry.set_subtitle(&device.address); + entry_imp + .reset_bluetooth_address + .get() + .set_text(&device.address); entry.set_activatable(true); if device.icon.is_empty() { entry_imp diff --git a/src/components/bluetooth/bluetooth_entry_impl.rs b/src/components/bluetooth/bluetooth_entry_impl.rs index f91f55b..f280d2c 100644 --- a/src/components/bluetooth/bluetooth_entry_impl.rs +++ b/src/components/bluetooth/bluetooth_entry_impl.rs @@ -14,6 +14,8 @@ pub struct BluetoothEntry { #[template_child] pub reset_bluetooth_label: TemplateChild