refactor(ContactRequestPopup): use StatusQ StatusButton

This commit is contained in:
Pascal Precht 2021-10-19 13:56:35 +02:00 committed by Iuri Matias
parent ffe072a90d
commit f244de248c
1 changed files with 4 additions and 3 deletions

View File

@ -4,8 +4,9 @@ import QtQuick.Layouts 1.13
import QtGraphicalEffects 1.13
import utils 1.0
import "../../../../shared"
import "../../../../shared/status"
import StatusQ.Controls 0.1
import "../../../../shared/popups"
import "../../Profile/Sections/Contacts"
@ -110,7 +111,7 @@ ModalPopup {
anchors.right: addToContactsButton.left
anchors.rightMargin: Style.current.padding
anchors.bottom: parent.bottom
type: "warn"
type: StatusBaseButton.Type.Danger
//% "Decline all"
text: qsTrId("decline-all")
onClicked: declineAllDialog.open()