Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
* [Android] Fix NEP of WXTextView#getText() (#2051)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangguanquan authored and YorkShen committed Jan 16, 2019
1 parent 335766b commit da4e7aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public WXGesture getGestureListener() {

@Override
public CharSequence getText() {
return textLayout.getText();
return textLayout != null ? textLayout.getText() : null;
}

public Layout getTextLayout() {
Expand Down

0 comments on commit da4e7aa

Please sign in to comment.