Fix punctuation in screenshot example
This commit is contained in:
parent
cd15f8305a
commit
c1021c7175
1 changed files with 2 additions and 2 deletions
|
|
@ -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])
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue