refactor: use menu button
This commit is contained in:
parent
df63a5d141
commit
d80a801fe5
12 changed files with 60 additions and 138 deletions
|
|
@ -210,8 +210,7 @@ impl cosmic::Application for Time {
|
|||
date_time_col
|
||||
},
|
||||
)
|
||||
.on_press(Message::TogglePopup)
|
||||
.style(theme::Button::Text);
|
||||
.on_press(Message::TogglePopup);
|
||||
|
||||
if let Some(tracker) = self.rectangle_tracker.as_ref() {
|
||||
tracker.container(0, button).into()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue