chore: use the "next" icon consistently

instead of variations of "chevron-*" and rotation
This commit is contained in:
Lukáš Tinkl 2023-04-25 12:32:57 +02:00 committed by Lukáš Tinkl
parent bdaf122ec7
commit e170af5115
9 changed files with 23 additions and 38 deletions

View File

@ -21,11 +21,8 @@ StatusListItem {
border.color: color border.color: color
}, },
StatusIcon { StatusIcon {
icon: "chevron-down" icon: "next"
rotation: 270
color: Theme.palette.baseColor1 color: Theme.palette.baseColor1
} }
] ]
} }

View File

@ -68,8 +68,7 @@ StatusListItem {
StatusIcon { StatusIcon {
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
visible: root.enabled visible: root.enabled
icon: "chevron-down" icon: "next"
rotation: 270
color: Theme.palette.baseColor1 color: Theme.palette.baseColor1
} }
] ]

View File

@ -14,8 +14,7 @@ StatusListItem {
rightPadding: Style.current.padding rightPadding: Style.current.padding
components: [ components: [
StatusIcon { StatusIcon {
icon: "chevron-down" icon: "next"
rotation: 270
color: Theme.palette.baseColor1 color: Theme.palette.baseColor1
} }
] ]

View File

@ -143,8 +143,7 @@ Item {
components: [ components: [
StatusIcon { StatusIcon {
icon: "chevron-down" icon: "next"
rotation: 270
color: Theme.palette.baseColor1 color: Theme.palette.baseColor1
} }
] ]

View File

@ -341,8 +341,7 @@ SettingsContentBase {
label: root.messagingStore.getMailserverNameForNodeAddress(root.messagingStore.activeMailserver) label: root.messagingStore.getMailserverNameForNodeAddress(root.messagingStore.activeMailserver)
components: [ components: [
StatusIcon { StatusIcon {
icon: "chevron-down" icon: "next"
rotation: 270
color: Theme.palette.baseColor1 color: Theme.palette.baseColor1
} }
] ]
@ -363,8 +362,7 @@ SettingsContentBase {
visible: root.advancedStore.isWakuV2 visible: root.advancedStore.isWakuV2
components: [ components: [
StatusIcon { StatusIcon {
icon: "chevron-down" icon: "next"
rotation: 270
color: Theme.palette.baseColor1 color: Theme.palette.baseColor1
} }
] ]

View File

@ -99,7 +99,7 @@ ColumnLayout {
: qsTr("Migrate an existing account from Status Desktop to Keycard") : qsTr("Migrate an existing account from Status Desktop to Keycard")
components: [ components: [
StatusIcon { StatusIcon {
icon: "tiny/chevron-right" icon: "next"
color: Theme.palette.baseColor1 color: Theme.palette.baseColor1
} }
] ]
@ -120,7 +120,7 @@ ColumnLayout {
title: qsTr("Create a new Keycard account with a new seed phrase") title: qsTr("Create a new Keycard account with a new seed phrase")
components: [ components: [
StatusIcon { StatusIcon {
icon: "tiny/chevron-right" icon: "next"
color: Theme.palette.baseColor1 color: Theme.palette.baseColor1
} }
] ]
@ -134,7 +134,7 @@ ColumnLayout {
title: qsTr("Import or restore via a seed phrase") title: qsTr("Import or restore via a seed phrase")
components: [ components: [
StatusIcon { StatusIcon {
icon: "tiny/chevron-right" icon: "next"
color: Theme.palette.baseColor1 color: Theme.palette.baseColor1
} }
] ]
@ -148,7 +148,7 @@ ColumnLayout {
title: qsTr("Import from Keycard to Status Desktop") title: qsTr("Import from Keycard to Status Desktop")
components: [ components: [
StatusIcon { StatusIcon {
icon: "tiny/chevron-right" icon: "next"
color: Theme.palette.baseColor1 color: Theme.palette.baseColor1
} }
] ]
@ -169,7 +169,7 @@ ColumnLayout {
title: qsTr("Check whats on a Keycard") title: qsTr("Check whats on a Keycard")
components: [ components: [
StatusIcon { StatusIcon {
icon: "tiny/chevron-right" icon: "next"
color: Theme.palette.baseColor1 color: Theme.palette.baseColor1
} }
] ]
@ -183,7 +183,7 @@ ColumnLayout {
title: qsTr("Factory reset a Keycard") title: qsTr("Factory reset a Keycard")
components: [ components: [
StatusIcon { StatusIcon {
icon: "tiny/chevron-right" icon: "next"
color: Theme.palette.baseColor1 color: Theme.palette.baseColor1
} }
] ]

View File

@ -39,8 +39,7 @@ Column {
label: qsTr("%n DApp(s) connected", "", root.walletStore.dappList.count) label: qsTr("%n DApp(s) connected", "", root.walletStore.dappList.count)
components: [ components: [
StatusIcon { StatusIcon {
icon: "chevron-down" icon: "next"
rotation: 270
color: Theme.palette.baseColor1 color: Theme.palette.baseColor1
} }
] ]
@ -58,8 +57,7 @@ Column {
onClicked: goToNetworksView() onClicked: goToNetworksView()
components: [ components: [
StatusIcon { StatusIcon {
icon: "chevron-down" icon: "next"
rotation: 270
color: Theme.palette.baseColor1 color: Theme.palette.baseColor1
} }
] ]
@ -121,9 +119,10 @@ Column {
} }
Repeater { Repeater {
width: parent.width
model: importedAccounts model: importedAccounts
delegate: WalletAccountDelegate { delegate: WalletAccountDelegate {
width: ListView.view.width width: parent.width
account: model account: model
onGoToAccountView: { onGoToAccountView: {
root.goToAccountView(model) root.goToAccountView(model)
@ -149,9 +148,10 @@ Column {
} }
Repeater { Repeater {
width: parent.width
model: watchOnlyAccounts model: watchOnlyAccounts
delegate: WalletAccountDelegate { delegate: WalletAccountDelegate {
width: ListView.view.width width: parent.width
account: model account: model
onGoToAccountView: { onGoToAccountView: {
root.goToAccountView(model) root.goToAccountView(model)

View File

@ -60,8 +60,7 @@ StatusModal {
statusListItemSubTitle.maximumLineCount: 1 statusListItemSubTitle.maximumLineCount: 1
components: [ components: [
StatusIcon { StatusIcon {
icon: "chevron-down" icon: "next"
rotation: 270
color: Theme.palette.baseColor1 color: Theme.palette.baseColor1
} }
] ]

View File

@ -6,6 +6,7 @@ import ".."
import "../panels" import "../panels"
import StatusQ.Controls 0.1 as StatusQControls import StatusQ.Controls 0.1 as StatusQControls
import StatusQ.Core 0.1 as StatusQCore
Rectangle { Rectangle {
property string text property string text
@ -100,21 +101,14 @@ Rectangle {
} }
} }
SVGImage { StatusQCore.StatusIcon {
id: caret id: caret
visible: !root.isSwitch visible: !root.isSwitch
anchors.right: parent.right anchors.right: parent.right
anchors.rightMargin: Style.current.padding anchors.rightMargin: Style.current.padding
anchors.verticalCenter: textItem.verticalCenter anchors.verticalCenter: textItem.verticalCenter
source: Style.svg("caret") icon: "next"
width: 13 color: Style.current.secondaryText
height: 7
rotation: -90
ColorOverlay {
anchors.fill: caret
source: caret
color: Style.current.secondaryText
}
} }
MouseArea { MouseArea {