mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-27 06:46:22 +00:00
Adjusted confirm button wrong style. Fixes #1811
This commit is contained in:
parent
3f525a0b2a
commit
849be39ee2
@ -57,7 +57,6 @@ ListView {
|
||||
// TODO: Make ConfirmationDialog a dynamic component on a future refactor
|
||||
ConfirmationDialog {
|
||||
id: removeContactConfirmationDialog
|
||||
btnType: "warn"
|
||||
title: qsTrId("remove-contact")
|
||||
//% "Are you sure you want to remove this contact?"
|
||||
confirmationText: qsTrId("are-you-sure-you-want-to-remove-this-contact-")
|
||||
|
@ -9,7 +9,7 @@ ModalPopup {
|
||||
id: confirmationDialog
|
||||
|
||||
property Popup parentPopup
|
||||
property string btnType: "primary"
|
||||
property string btnType: "warn"
|
||||
|
||||
|
||||
height: 186
|
||||
@ -43,7 +43,6 @@ ModalPopup {
|
||||
type: confirmationDialog.btnType
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: Style.current.smallPadding
|
||||
color: Style.current.danger
|
||||
text: confirmationDialog.confirmButtonLabel
|
||||
anchors.bottom: parent.bottom
|
||||
onClicked: confirmationDialog.confirmButtonClicked()
|
||||
|
Loading…
x
Reference in New Issue
Block a user