You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If `result` is provided and a callback was set when the screen was [pushed][textual.app.App.push_screen], then
the callback will be invoked with `result`.
I think the rationale might have been that the callback exists to receive the argument to dismiss(). And if you don't supply one, then you don't need the callback.
On reflection supplying a callback and then discarding it feels like a wart.
e.g.
screen.dismiss()
or in a Binding
Binding(..., action="screen.dismiss", ...)
.Confirmed with this MRE:
The text was updated successfully, but these errors were encountered: