Skip to content

added onSuccessCallback in Config; removed alert on success - #6

Open
ulibath wants to merge 2 commits into
mainfrom
feature/propagate-successfull-submission
Open

added onSuccessCallback in Config; removed alert on success#6
ulibath wants to merge 2 commits into
mainfrom
feature/propagate-successfull-submission

Conversation

@ulibath

@ulibath ulibath commented Oct 24, 2023

Copy link
Copy Markdown
Collaborator

Added callback for successful wish submission.

@ulibath
ulibath requested a review from frankschlegel October 24, 2023 15:00
public var commentSection: Display = .show

/// Callback when a wish was successfully submitted
public var onSuccessCallback: (() -> Void)?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The name is a bit too general. How about onWishSubmitCallback?

@ulibath
ulibath requested a review from frankschlegel October 25, 2023 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants