fyne.Do in notification toast

This commit is contained in:
Drew Weymouth
2025-02-08 08:35:34 -03:00
parent edd9fa39a9
commit 94115f2875
2 changed files with 14 additions and 10 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ func (t *ToastOverlay) showToast(isErr bool, message string) {
case <-ctx.Done():
return
default:
t.dismissToast()
fyne.Do(t.dismissToast)
}
}()
}