Fixed formating issues
This commit is contained in:
parent
d64b2261e2
commit
2a1f2f41d8
1 changed files with 2 additions and 4 deletions
|
|
@ -80,10 +80,8 @@ impl cosmic::Application for App {
|
|||
fn view(&self) -> Element<Self::Message> {
|
||||
let mut content = cosmic::widget::column().spacing(12);
|
||||
|
||||
let calendar = cosmic::widget::calendar(
|
||||
&self.date_selected,
|
||||
|date| Message::DateSelected(date),
|
||||
);
|
||||
let calendar =
|
||||
cosmic::widget::calendar(&self.date_selected, |date| Message::DateSelected(date));
|
||||
|
||||
content = content.push(calendar);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue