Skip to content

Commit 8d5ac29

Browse files
authored
Merge pull request #2262 from KomodoPlatform/fix-notifications-btn
handle button where no notifications
2 parents d1efdf2 + 2d33fcb commit 8d5ac29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

atomic_defi_design/Dex/Dashboard/NotificationsModal.qml

+2-2
Original file line numberDiff line numberDiff line change
@@ -622,8 +622,8 @@ DexPopup
622622
}
623623

624624
OutlineButton
625-
{
626-
text: qsTr('Mark all as read')
625+
{
626+
text: notifications_list.length !== 0 ? qsTr('Mark all as read') : qsTr('Close')
627627
height: 40
628628
width: 260
629629
Layout.alignment: Qt.AlignHCenter

0 commit comments

Comments
 (0)