update label text on page reload

This commit is contained in:
yggverse 2024-09-27 18:49:18 +03:00
parent 10374b1b08
commit 9e5ec86222
3 changed files with 13 additions and 8 deletions

View file

@ -41,8 +41,8 @@ impl Label {
}
// Actions
pub fn update(&self) {
// @TODO
pub fn update(&self, title: &GString) {
self.title.update(title);
}
// Setters