Skip to content

Commit 98a6172

Browse files
fix/var
1 parent 562ef2c commit 98a6172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/local-notifications.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export class LocalNotificationsImpl extends LocalNotificationsCommon implements
7979
return new Promise((resolve, reject) => {
8080
try {
8181
// nothing to do on this platform
82-
var context = utils.ad.getApplicationContext();
82+
const context = utils.ad.getApplicationContext();
8383
const hasPermission=NotificationManagerCompatPackageName.NotificationManagerCompat.from(context).areNotificationsEnabled();
8484
resolve(hasPermission);
8585
} catch (ex) {

0 commit comments

Comments
 (0)