project-robius / robrix

A multi-platform Matrix chat client written in pure Rust using the Makepad UI toolkit and the Robius app dev framework
MIT License
93 stars 17 forks source link

Maintain login view visibility on doc updates #215

Closed joulei closed 1 week ago

joulei commented 1 week ago

Fixes #209

Since makepad is currently reseting the visibility (to the original value in the DSL) of the view on doc updates, we simply keep track of the login status at the app level and update visibility on after_update_from_doc.