File tree 1 file changed +1
-5
lines changed
1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -212,22 +212,18 @@ export function OfflineNoticeProvider(props: ProviderProps): Node {
212
212
// another app.)
213
213
214
214
if ( shouldShowUncertaintyNotice && ! haveAnnouncedUncertain . current ) {
215
- // TODO(react-native-68): Use announceForAccessibilityWithOptions to
216
- // queue this behind any in-progress announcements
217
215
AccessibilityInfo . announceForAccessibilityWithOptions ( _ ( 'Zulip’s Internet connection is uncertain.' ) , { queue : true } ) ;
218
216
haveAnnouncedUncertain . current = true ;
219
217
}
220
218
221
219
if ( isOnline === false && ( ! haveAnnouncedOffline . current || haveAnnouncedUncertain . current ) ) {
222
- AccessibilityInfo . announceForAccessibilityWithOptions ( _ ( 'Zulip is offline.' ) , { queue : false } ) ;
220
+ AccessibilityInfo . announceForAccessibility ( _ ( 'Zulip is offline.' ) ) ;
223
221
haveAnnouncedOffline . current = true ;
224
222
haveAnnouncedUncertain . current = false ;
225
223
} else if (
226
224
isOnline === true
227
225
&& ( haveAnnouncedOffline . current || haveAnnouncedUncertain . current )
228
226
) {
229
- // TODO(react-native-68): Use announceForAccessibilityWithOptions to
230
- // queue this behind any in-progress announcements
231
227
AccessibilityInfo . announceForAccessibilityWithOptions ( _ ( 'Zulip is online.' ) , { queue : true } ) ;
232
228
233
229
haveAnnouncedOffline . current = false ;
You can’t perform that action at this time.
0 commit comments