Skip to content

Commit

Permalink
talkback issue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vishwajith-Shettigar committed Oct 17, 2023
1 parent a03d7cf commit 211cf28
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ class PinPasswordActivityPresenter @Inject constructor(
}

val am = (activity).getSystemService(Context.ACCESSIBILITY_SERVICE) as AccessibilityManager
val isTalkbackEnabled=am.isTouchExplorationEnabled()
val isTalkbackEnabled = am.isTouchExplorationEnabled()

if(!isTalkbackEnabled)
if (!isTalkbackEnabled)
binding.pinPasswordInputPinEditText.requestFocus()

// [onTextChanged] is a extension function defined at [TextInputEditTextHelper]
Expand Down

0 comments on commit 211cf28

Please sign in to comment.