fix visibility toggle on input request

This commit is contained in:
yggverse 2024-10-16 08:35:20 +03:00
parent 55afe17271
commit 179cad9a57
2 changed files with 7 additions and 1 deletions

View file

@ -28,6 +28,7 @@ impl Input {
// Actions
pub fn show(&self, placeholder: &str, sensitive: bool) {
self.content.set(placeholder, sensitive);
self.widget.show(true);
}
// Getters