Skip to content

Commit

Permalink
Remove alertButton - the alarmButton will be renamed/recolored shortly
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeTrahearn-Qinetic committed Feb 21, 2025
1 parent 93c0340 commit ae4ccf5
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions components/StatusBar.qml
Original file line number Diff line number Diff line change
Expand Up @@ -214,24 +214,6 @@ Rectangle {
width: Math.max(20, implicitWidth)
}

NotificationButton {
id: alertButton

anchors {
right: rightSideRow.right
verticalCenter: parent.verticalCenter
}
enabled: notificationButtonsEnabled &&
((Global.notifications?.hasActiveNotifications ?? false) ||
(Global.notifications?.hasUnsilencedNotifications ?? false)) &&
!alarmButton.enabled
backgroundColor: Theme.color_warning

//% "Acknowledge alerts"
text: qsTrId("notifications_acknowledge_alerts")
onClicked: Global.notifications.silenceAll()
}

NotificationButton {
id: alarmButton

Expand Down

0 comments on commit ae4ccf5

Please sign in to comment.