Shorten variable name

This commit is contained in:
Daniel James Smith 2021-10-15 15:35:31 +02:00
parent 79f849fd92
commit f951c860ea
No known key found for this signature in database
GPG Key ID: 03E4BD365FF06726
1 changed files with 3 additions and 3 deletions

View File

@ -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;