handle error

This commit is contained in:
Scott E. Graves 2025-03-01 17:01:32 -06:00
parent 974eeafaf7
commit fbaa51f634

View File

@ -66,7 +66,14 @@ class _MountWidgetState extends State<MountWidget> {
});
if (isActive) {
mount.mount(isActive).then((_) {
mount
.mount(isActive)
.then((_) {
setState(() {
_enabled = true;
});
})
.catchError((_) {
setState(() {
_enabled = true;
});