Skip to content

use flag to control if MuessageUIDelegate.loaded() was called#651

Merged
andresilveirah merged 1 commit into
developfrom
prevent_repeated_onReady_with_flag
May 20, 2026
Merged

use flag to control if MuessageUIDelegate.loaded() was called#651
andresilveirah merged 1 commit into
developfrom
prevent_repeated_onReady_with_flag

Conversation

@andresilveirah
Copy link
Copy Markdown
Member

Guard against calling MuessageUIDelegate.loaded() multiple times if the sp.showMessage event is dispatched repeatedly.

Reference #650 #649

@andresilveirah
Copy link
Copy Markdown
Member Author

@sampaioroberto FYI

Copy link
Copy Markdown

@sampaioroberto sampaioroberto left a comment

Choose a reason for hiding this comment

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

Nice, the toNever is way better than what I had. And the reset in viewWillDisappear is a good catch. LGTM!

@andresilveirah andresilveirah merged commit 8f12e9f into develop May 20, 2026
19 of 21 checks passed
@andresilveirah andresilveirah deleted the prevent_repeated_onReady_with_flag branch May 20, 2026 14:17
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.

2 participants