Skip to content

Commit

Permalink
Merge pull request #2262 from KomodoPlatform/fix-notifications-btn
Browse files Browse the repository at this point in the history
handle button where no notifications
  • Loading branch information
smk762 authored Apr 13, 2023
2 parents d1efdf2 + 2d33fcb commit 8d5ac29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions atomic_defi_design/Dex/Dashboard/NotificationsModal.qml
Original file line number Diff line number Diff line change
Expand Up @@ -622,8 +622,8 @@ DexPopup
}

OutlineButton
{
text: qsTr('Mark all as read')
{
text: notifications_list.length !== 0 ? qsTr('Mark all as read') : qsTr('Close')
height: 40
width: 260
Layout.alignment: Qt.AlignHCenter
Expand Down

0 comments on commit 8d5ac29

Please sign in to comment.