Skip to content

Commit e29662c

Browse files
committed
Fixed tslint.
1 parent 2f43a63 commit e29662c

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

ui/editable-text-base/editable-text-base.android.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,13 @@ export class EditableTextBase extends common.EditableTextBase {
112112
public focus(): boolean {
113113
var result = super.focus();
114114

115-
if (result && this.android) {
116-
this._imm.showSoftInput(this.android, android.view.inputmethod.InputMethodManager.SHOW_IMPLICIT);
115+
if (result && this._nativeView) {
116+
this._imm.showSoftInput(this._nativeView, android.view.inputmethod.InputMethodManager.SHOW_IMPLICIT);
117117
}
118118

119119
return result;
120120
}
121121

122-
123122
public _onTextPropertyChanged(data: dependencyObservable.PropertyChangeData) {
124123
if (this._android) {
125124
this.android.setText(data.newValue + "", android.widget.TextView.BufferType.EDITABLE);

0 commit comments

Comments
 (0)