Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Set WysiwygComposerView as MainActor #748

Closed
wants to merge 1 commit into from

Conversation

aringenbach
Copy link
Contributor

Might fix/silence some SwiftUI warnings about Publishing properties.
Issue seems to be with the focused property of the model but it's called from this view's context:

        public func textViewDidBeginEditing(_ textView: UITextView) {
            focused.wrappedValue = true
        }
        
        public func textViewDidEndEditing(_ textView: UITextView) {
            focused.wrappedValue = false
        }

@aringenbach aringenbach requested a review from a team July 25, 2023 15:19
Copy link
Contributor

@langleyd langleyd left a comment

Choose a reason for hiding this comment

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

👍

@sonarcloud
Copy link

sonarcloud bot commented Jul 25, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@aringenbach aringenbach marked this pull request as draft July 25, 2023 15:34
@aringenbach
Copy link
Contributor Author

Oh well, looks like UI tests are unhappy with this change, I'll put this on draft for now.

@aringenbach
Copy link
Contributor Author

Issue should be fixed with #761

@aringenbach aringenbach deleted the aringenbach/composer_view_main_actor branch August 11, 2023 13:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants