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

Clear text when set the empty string #81

Merged
merged 1 commit into from
May 11, 2016

Conversation

Econa77
Copy link
Contributor

@Econa77 Econa77 commented May 11, 2016

Text did not reflect when set an empty string in the state that have been set text.
Added processing at the time of the empty string.

// Reflected
label.text = "This is a post with #multiple #hashtags and a @userhandle. Links are also supported like this one: http://optonaut.co." 

// Not reflected
label.text = ""

@Econa77 Econa77 force-pushed the feature/update-empty-string branch from b003846 to 8ff649a Compare May 11, 2016 09:33
@polqf
Copy link
Contributor

polqf commented May 11, 2016

Lovely. Thanks @Econa77

@polqf polqf merged commit e63152a into optonaut:master May 11, 2016
@Econa77 Econa77 deleted the feature/update-empty-string branch May 12, 2016 02:06
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