Fix punctuation in screenshot example

This commit is contained in:
Héctor Ramón Jiménez 2023-06-06 15:59:56 +02:00
parent cd15f8305a
commit c1021c7175
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -183,12 +183,12 @@ impl Application for Example {
} }
let png_button = if !self.png_saving { let png_button = if !self.png_saving {
button("Save to png.") button("Save to png")
.style(Button::Secondary) .style(Button::Secondary)
.padding([10, 20, 10, 20]) .padding([10, 20, 10, 20])
.on_press(Message::Png) .on_press(Message::Png)
} else { } else {
button("Saving..") button("Saving...")
.style(Button::Secondary) .style(Button::Secondary)
.padding([10, 20, 10, 20]) .padding([10, 20, 10, 20])
}; };