Open antokne opened 1 year ago
Describe the bug When using AlertToast in a package, displaying a toast of displayMode type .alert neither a systemImage or Image are displayed.
To Reproduce Steps to reproduce the behavior:
.toast(isPresenting: $showToast) { AlertToast(displayMode: .alert, type: .systemImage("pause.circle", .red), style: .style(backgroundColor: .black)) }
Expected behavior System image should be visible.
Screenshots
Using .alert
Using .hud
Desktop (please complete the following information):
Verified this works when displaying in a SwiftUI view in app not in a package.
Describe the bug When using AlertToast in a package, displaying a toast of displayMode type .alert neither a systemImage or Image are displayed.
To Reproduce Steps to reproduce the behavior:
Expected behavior System image should be visible.
Screenshots
Using .alert
Using .hud
Desktop (please complete the following information):
Verified this works when displaying in a SwiftUI view in app not in a package.