Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure placeholders are not drawn twice when activity is destroyed #1021

Merged

Conversation

planarvoid
Copy link
Contributor

Fix

When the "Don't keep activities" is turned on and the user leaves the editor and comes back (for example to open a camera and take a photo), the placeholders are redrawn because the toHtml is called twice and this triggers the mediaLoadingStarted to be called twice. In this PR I'm making sure that doesn't happen.

Test

  • Test this in the linked PR

Review

@khaykov

Make sure strings will be translated:

  • If there are new strings that have to be translated, I have added them to the client's strings.xml as a part of the integration PR.

@planarvoid planarvoid added the bug label Dec 7, 2022
@planarvoid planarvoid self-assigned this Dec 7, 2022
Copy link
Member

@khaykov khaykov left a comment

Choose a reason for hiding this comment

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

I confirmed the issue and that the fix works!

@khaykov
Copy link
Member

khaykov commented Dec 7, 2022

Feel free to merge whenever 👍

@planarvoid planarvoid merged commit 2e7ceb6 into trunk Dec 8, 2022
@planarvoid planarvoid deleted the fix/placeholder-behaviour-when-activity-is-destroyed branch December 8, 2022 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants