mirror of
https://github.com/jeremysrand/ListenerApp.git
synced 2026-03-11 11:41:40 +00:00
Under catalyst on the mac, the popover was leading to crashes. After a few rounds with an LLM, it seems this maybe a known problem with popovers under catalyst triggered from toolbar buttons. The suggestion was to use a sheet so I made that change. Also, when going into edit mode on the mac, the edit button disappeared entirely from the toolbar. On the iPhone and iPad, the edit button became a checkmark so that you could exit edit mode. On the mac, nothing was there but if I clicked where the button was, it did exit edit mode. Again, the LLM came to the rescue and said this is a known problem with catalyst and suggested using custom code to handle the edit button. That worked. The LLM also suggested trying to build a native Mac swiftui app instead of using catalyst. Catalyst does seem to be buggy but it looks like some of the thirdparty code components I pulled in do not build as a native Mac swiftui app. So, putting up with the limitations of catalyst for now.