Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

[ASButtonNode] Correctly compare and update its title #1903

Merged

Conversation

nguyenhuy
Copy link
Contributor

I found this interesting line while debugging #1865. We're basically trying to avoid unnecessary updates by comparing the old and existing titles. However, we should be comparing the contents of these strings instead of their memory addresses, no?

@ghost ghost added the CLA Signed label Jul 12, 2016
@maicki
Copy link
Contributor

maicki commented Jul 12, 2016

LGTM

@appleguy or @Adlai-Holler can you take a look over it too

@Adlai-Holler
Copy link
Contributor

Love it!

@Adlai-Holler Adlai-Holler merged commit 2e3da9b into facebookarchive:master Jul 12, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants