diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/SheetPresenter.swift b/ui/BankingiOSApp/BankingiOSApp/ui/SheetPresenter.swift new file mode 100644 index 00000000..2f2cf3fe --- /dev/null +++ b/ui/BankingiOSApp/BankingiOSApp/ui/SheetPresenter.swift @@ -0,0 +1,20 @@ +import SwiftUI + + +struct SheetPresenter: View { + + @Binding var presentingSheet: Bool + + var content: ActionSheet + + + var body: some View { + Text("") + .actionSheet(isPresented: self.$presentingSheet, content: { self.content }) + .onAppear { + DispatchQueue.main.async { + self.presentingSheet = true + } + } + } +}