Skip to content
This repository was archived by the owner on Sep 24, 2021. It is now read-only.

Commit 968aa86

Browse files
committed
fix(ios, docs): fix NotificationIOS code docs where truthy is used incorrectly
1 parent 2eea35a commit 968aa86

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/types/NotificationIOS.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ export interface IOSNotificationPermissions {
224224
/**
225225
* An enum representing the notification authorization status for this app on the device.
226226
*
227-
* Value is truthy if authorized, compare against an exact status (e.g. PROVISIONAL) for a more
227+
* Value is greater than 0 if authorized, compare against an exact status (e.g. PROVISIONAL) for a more
228228
* granular status.
229229
*
230230
* @platform ios
@@ -256,7 +256,7 @@ export enum IOSAuthorizationStatus {
256256
/**
257257
* An enum representing the show previews notification setting for this app on the device.
258258
*
259-
* Value is truthy if previews are to be shown, compare against an exact value
259+
* Value is greater than 0 if previews are to be shown, compare against an exact value
260260
* (e.g. WHEN_AUTHENTICATED) for more granular control.
261261
*
262262
* @platform ios
@@ -287,7 +287,7 @@ export enum IOSShowPreviewsSetting {
287287
/**
288288
* An enum representing a notification setting for this app on the device.
289289
*
290-
* Value is truthy if setting enabled, compare against an exact value (e.g. NOT_SUPPORTED) for more
290+
* Value is greater than 0 if setting enabled, compare against an exact value (e.g. NOT_SUPPORTED) for more
291291
* granular control.
292292
*
293293
* @platform ios

0 commit comments

Comments
 (0)