feat: enable button to open Bluetooth settings page from applet

This commit is contained in:
Kartik Nayak 2024-10-21 16:45:17 +05:30 committed by Ashley Wulber
parent a5c201aedd
commit 11faa567f3

View file

@ -578,9 +578,9 @@ impl cosmic::Application for CosmicBluetoothApplet {
} else {
content = content.push(Column::with_children(list_column));
}
// content = content
// .push(padded_control(divider::horizontal::default()).padding([space_xxs, space_s]))
// .push(menu_button(text::body(fl!("settings"))).on_press(Message::OpenSettings));
content = content
.push(padded_control(divider::horizontal::default()).padding([space_xxs, space_s]))
.push(menu_button(text::body(fl!("settings"))).on_press(Message::OpenSettings));
self.core.applet.popup_container(content).into()
}