Skip to content

Commit

Permalink
feat: enable button to open Bluetooth settings page from applet
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingHashira committed Oct 21, 2024
1 parent 652ea5b commit 0374916
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cosmic-applet-bluetooth/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 0374916

Please sign in to comment.