Button restyle
This commit is contained in:
@@ -105,7 +105,7 @@ impl DictionaryQuizState {
|
||||
]
|
||||
.spacing(DEFAULT_SPACING),
|
||||
row![
|
||||
button("Закончить").on_press(DictionaryQuizMessage::Back),
|
||||
button("Закончить").style(jl_button).on_press(DictionaryQuizMessage::Back),
|
||||
self.appeal_button()
|
||||
]
|
||||
.spacing(DEFAULT_SPACING),
|
||||
@@ -205,7 +205,7 @@ impl DictionaryQuizState {
|
||||
|
||||
fn appeal_button(&self) -> Element<'_, DictionaryQuizMessage> {
|
||||
if self.is_help && self.no_typing == false {
|
||||
return button("Апелляция")
|
||||
return button("Апелляция").style(jl_button)
|
||||
.on_press(DictionaryQuizMessage::Appeal)
|
||||
.into();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user