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
lightbox: Replace onDismiss with await showErrorDialog
The `showDialog` function returns a future that resolves when the
dialog is dismissed, and showErrorDialog returns that future.
The one caller of showErrorDialog that was passing an onDismiss
callback can therefore await that future instead. Do that, and
eliminate the parameter.
This is not an NFC change, because now the user can tap the barrier
(the darkened area around the dialog) to close it.
Discussion from when this parameter was introduced:
#587 (comment)
Signed-off-by: Zixuan James Li <[email protected]>
0 commit comments