mirror of
https://github.com/status-im/react-native.git
synced 2025-02-23 06:38:13 +00:00
Remove unused code in ReactTextView
Summary: Trivial cleanup of variables and methods that were not being used in ReactTextView Reviewed By: blairvanderhoof Differential Revision: D14027630 fbshipit-source-id: e763d6d001d4a0c2970adebc9855190845cf5a1d
This commit is contained in:
parent
222e650885
commit
48ba44087f
@ -32,8 +32,6 @@ public class ReactTextView extends TextView implements ReactCompoundView {
|
||||
private boolean mContainsImages;
|
||||
private int mDefaultGravityHorizontal;
|
||||
private int mDefaultGravityVertical;
|
||||
private boolean mTextIsSelectable;
|
||||
private float mLineHeight = Float.NaN;
|
||||
private int mTextAlign = Gravity.NO_GRAVITY;
|
||||
private int mNumberOfLines = ViewDefaults.NUMBER_OF_LINES;
|
||||
private TextUtils.TruncateAt mEllipsizeLocation = TextUtils.TruncateAt.END;
|
||||
@ -129,12 +127,6 @@ public class ReactTextView extends TextView implements ReactCompoundView {
|
||||
return target;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setTextIsSelectable(boolean selectable) {
|
||||
mTextIsSelectable = selectable;
|
||||
super.setTextIsSelectable(selectable);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean verifyDrawable(Drawable drawable) {
|
||||
if (mContainsImages && getText() instanceof Spanned) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user