Skip to content

Commit

Permalink
fix: sonar bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
abose committed Nov 18, 2023
1 parent 08e074a commit 14fdea4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/extensionsIntegrated/InAppNotifications/banner.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -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%;
Expand All @@ -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 {
Expand Down

0 comments on commit 14fdea4

Please sign in to comment.