From 14fdea42f2de21189f7fe6a09651f2e6aabd8bb9 Mon Sep 17 00:00:00 2001 From: abose Date: Sat, 18 Nov 2023 11:31:43 +0530 Subject: [PATCH] fix: sonar bugs --- src/extensionsIntegrated/InAppNotifications/banner.js | 2 +- src/extensionsIntegrated/InAppNotifications/styles/styles.css | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/extensionsIntegrated/InAppNotifications/banner.js b/src/extensionsIntegrated/InAppNotifications/banner.js index 0e5cd5123..046eabf58 100644 --- a/src/extensionsIntegrated/InAppNotifications/banner.js +++ b/src/extensionsIntegrated/InAppNotifications/banner.js @@ -98,7 +98,7 @@ define(function (require, exports, module) { // One time notification. mark as shown and never show again _markAsShownAndDone(notificationID); } - await showBannerAndWaitForDismiss(notification.HTML_CONTENT, notificationID, notification); + await showBannerAndWaitForDismiss(notification.HTML_CONTENT, notificationID); if(!notification.DANGER_SHOW_ON_EVERY_BOOT){ _markAsShownAndDone(notificationID); } diff --git a/src/extensionsIntegrated/InAppNotifications/styles/styles.css b/src/extensionsIntegrated/InAppNotifications/styles/styles.css index fd843aacb..b34d42e1c 100644 --- a/src/extensionsIntegrated/InAppNotifications/styles/styles.css +++ b/src/extensionsIntegrated/InAppNotifications/styles/styles.css @@ -1,6 +1,5 @@ #notification-bar { display: block; - background-color: #105F9C; box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.53); padding: 5px 0px; width: 100%; @@ -12,7 +11,7 @@ outline: none; overflow: hidden; color: rgb(51, 51, 51); - background: rgb(223, 226, 226); + background-color: rgb(223, 226, 226); } .dark #notification-bar {