SwiftUI Alert not displaying properly in a MacOS menu Bar App
I am developing a simple menu bar app on mac. It has a window containing a button saying “do something“, of course, to simulate a network request. During said request, an error may happen, in which case, an alert should show containing details. This error comes from a ViewModel and whenever it is set from nil to a string value, the alert should appear.