From e29662cac6c2f8033290f05ef0bae335e9ced738 Mon Sep 17 00:00:00 2001 From: Rossen Hristov Date: Thu, 23 Apr 2015 12:04:55 +0300 Subject: [PATCH] Fixed tslint. --- ui/editable-text-base/editable-text-base.android.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ui/editable-text-base/editable-text-base.android.ts b/ui/editable-text-base/editable-text-base.android.ts index 543287f84..12aad1818 100644 --- a/ui/editable-text-base/editable-text-base.android.ts +++ b/ui/editable-text-base/editable-text-base.android.ts @@ -112,14 +112,13 @@ export class EditableTextBase extends common.EditableTextBase { public focus(): boolean { var result = super.focus(); - if (result && this.android) { - this._imm.showSoftInput(this.android, android.view.inputmethod.InputMethodManager.SHOW_IMPLICIT); + if (result && this._nativeView) { + this._imm.showSoftInput(this._nativeView, android.view.inputmethod.InputMethodManager.SHOW_IMPLICIT); } return result; } - public _onTextPropertyChanged(data: dependencyObservable.PropertyChangeData) { if (this._android) { this.android.setText(data.newValue + "", android.widget.TextView.BufferType.EDITABLE);