Skip to content

Commit 5cfc9ac

Browse files
committed
fix: sonar bugs
1 parent fccf0e5 commit 5cfc9ac

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/extensionsIntegrated/InAppNotifications/banner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ define(function (require, exports, module) {
9898
// One time notification. mark as shown and never show again
9999
_markAsShownAndDone(notificationID);
100100
}
101-
await showBannerAndWaitForDismiss(notification.HTML_CONTENT, notificationID, notification);
101+
await showBannerAndWaitForDismiss(notification.HTML_CONTENT, notificationID);
102102
if(!notification.DANGER_SHOW_ON_EVERY_BOOT){
103103
_markAsShownAndDone(notificationID);
104104
}

src/extensionsIntegrated/InAppNotifications/styles/styles.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#notification-bar {
22
display: block;
3-
background-color: #105F9C;
43
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.53);
54
padding: 5px 0px;
65
width: 100%;
@@ -12,7 +11,7 @@
1211
outline: none;
1312
overflow: hidden;
1413
color: rgb(51, 51, 51);
15-
background: rgb(223, 226, 226);
14+
background-color: rgb(223, 226, 226);
1615
}
1716

1817
.dark #notification-bar {

0 commit comments

Comments
 (0)