Skip to content

Commit

Permalink
Add AccessibilityInfo.isAccessibilityServiceEnabled
Browse files Browse the repository at this point in the history
  • Loading branch information
MoOx committed Apr 16, 2022
1 parent 35306c3 commit 4fb9319
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/apis/AccessibilityInfo.res
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ external isReduceTransparencyEnabled: unit => Js.Promise.t<bool> = "isReduceTran
@scope("AccessibilityInfo") @module("react-native")
external isScreenReaderEnabled: unit => Js.Promise.t<bool> = "isScreenReaderEnabled"

@scope("AccessibilityInfo") @module("react-native")
external isAccessibilityServiceEnabled: unit => Js.Promise.t<bool> = "isAccessibilityServiceEnabled"

@deprecated("Instead of using removeEventListener(), invoke `remove()` on the subscription itself.")
@scope("AccessibilityInfo")
@module("react-native")
Expand Down

0 comments on commit 4fb9319

Please sign in to comment.