fix!(widget): rename button function to button::custom

This commit is contained in:
Michael Aaron Murphy 2024-09-16 19:11:29 +02:00 committed by Jeremy Soller
parent 914d989049
commit f12de010ec
15 changed files with 28 additions and 32 deletions

View file

@ -143,7 +143,7 @@ fn date_button<Message>(
button::Style::Text
};
let button = button(
let button = button::custom(
text(format!("{}", date.day()))
.horizontal_alignment(Horizontal::Center)
.vertical_alignment(Vertical::Center),