PrivacyConfirmationDialogBox

@MainActor
struct PrivacyConfirmationDialogBox : View
  • App storage variable for storing the bool value of wheather the user have accepted the privacy policy or not.

    Declaration

    Swift

    @AppStorage
    @MainActor
    var isPrivacyPolicyAccepted: Bool { get nonmutating set }
  • Presentation mode environment variable

    Declaration

    Swift

    @Environment
    @MainActor
    var presentationMode: Binding<PresentationMode> { get }
  • Closure to be called when the i understand button is tapped.

    Declaration

    Swift

    @MainActor
    var onTapIUnderstandButton: () -> Void
  • Declaration

    Swift

    @MainActor
    var body: some View { get }