refactor(StatusChatCommandsPopup): use StatusQ StatusChatCommandButton
This commit is contained in:
parent
72b46c3b94
commit
92320ffb1c
|
@ -1 +1 @@
|
|||
Subproject commit 64b2a51c09aca1d66a88b38c449b0579c4222010
|
||||
Subproject commit cc48c0e89b7eaae84b91bea6b66bf09e8b61e03f
|
|
@ -3,7 +3,9 @@ import QtQuick.Controls 2.13
|
|||
import QtGraphicalEffects 1.13
|
||||
|
||||
import utils 1.0
|
||||
import "../../shared"
|
||||
|
||||
import StatusQ.Controls 0.1
|
||||
|
||||
import "../../shared/popups"
|
||||
|
||||
Popup {
|
||||
|
@ -46,8 +48,6 @@ Popup {
|
|||
text: qsTrId("send-transaction")
|
||||
icon.color: Style.current.purple
|
||||
icon.name: "send"
|
||||
icon.width: 16
|
||||
icon.height: 18
|
||||
onClicked: appSettings.isWalletEnabled ? root.sendTransactionCommandButtonClicked() : confirmationPopup.open()
|
||||
}
|
||||
|
||||
|
@ -57,9 +57,7 @@ Popup {
|
|||
text: qsTrId("request-transaction")
|
||||
icon.color: Style.current.orange
|
||||
icon.name: "send"
|
||||
icon.width: 16
|
||||
icon.height: 18
|
||||
iconRotation: 180
|
||||
icon.rotation: 180
|
||||
onClicked: appSettings.isWalletEnabled ? root.receiveTransactionCommandButtonClicked() : confirmationPopup.open()
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
StatusChatCommandButton 1.0 StatusChatCommandButton.qml
|
||||
StatusChatCommandPopup 1.0 StatusChatCommandPopup.qml
|
||||
StatusChatInput 1.0 StatusChatInput.qml
|
||||
StatusCategoryButton 1.0 StatusCategoryButton.qml
|
||||
|
|
Loading…
Reference in New Issue