LeoNatan / LNPopupUI

A SwiftUI library for presenting views as popups, much like the Apple Music and Podcasts apps.
MIT License
320 stars 29 forks source link

Make popup image nullable #34

Closed LeoNatan closed 8 months ago

LeoNatan commented 8 months ago

Hm, looking at the exposed API, perhaps it should be

func popupImage(_ image: Image?, resizable: Bool = true) -> some View

so that users can hide the image.

Originally posted by @LeoNatan in https://github.com/LeoNatan/LNPopupUI/discussions/33#discussioncomment-8040812