From 0374916972bdf98dea8018a4ea045c83069e67ed Mon Sep 17 00:00:00 2001 From: Kartik Nayak Date: Mon, 21 Oct 2024 16:45:17 +0530 Subject: [PATCH] feat: enable button to open Bluetooth settings page from applet --- cosmic-applet-bluetooth/src/app.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cosmic-applet-bluetooth/src/app.rs b/cosmic-applet-bluetooth/src/app.rs index b10698e0..81d3eee2 100644 --- a/cosmic-applet-bluetooth/src/app.rs +++ b/cosmic-applet-bluetooth/src/app.rs @@ -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() }