From f951c860ea2343a619b977197b4cf0bf7163f251 Mon Sep 17 00:00:00 2001 From: Daniel James Smith Date: Fri, 15 Oct 2021 15:35:31 +0200 Subject: [PATCH] Shorten variable name --- src/background/main.background.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/background/main.background.ts b/src/background/main.background.ts index 0182b8f1b3..840142d3ee 100644 --- a/src/background/main.background.ts +++ b/src/background/main.background.ts @@ -347,10 +347,10 @@ export default class MainBackground { return; } - const lockedVaultPendingNotificationsItem = this.lockedVaultPendingNotifications.pop(); - switch (lockedVaultPendingNotificationsItem.from) { + const item = this.lockedVaultPendingNotifications.pop(); + switch (item.from) { case 'notificationBar': - await this.notificationBackground.processMessage(lockedVaultPendingNotificationsItem.commandToRetry, lockedVaultPendingNotificationsItem.commandToRetry.sender, null); + await this.notificationBackground.processMessage(item.commandToRetry, item.commandToRetry.sender, null); break; default: break;