File tree Expand file tree Collapse file tree 3 files changed +15
-30
lines changed
Expand file tree Collapse file tree 3 files changed +15
-30
lines changed Original file line number Diff line number Diff line change @@ -58,15 +58,12 @@ ColumnLayout {
5858 onClicked: loadedItem .clicked ()
5959 }
6060 Setting {
61+ id: gotoDeveloper
6162 Layout .fillWidth : true
6263 header: qsTr (" Developer options" )
6364 description: qsTr (" Only use these if you have development experience" )
64- actionItem: Button {
65- icon .source : " image://images/caret-right"
66- icon .color : Theme .color .neutral9
67- icon .height : 18
68- icon .width : 18
69- background: null
65+ actionItem: CaretRightButton{
66+ stateColor: gotoDeveloper .stateColor
7067 onClicked: {
7168 aboutSwipe .incrementCurrentIndex ()
7269 }
Original file line number Diff line number Diff line change @@ -59,15 +59,12 @@ ColumnLayout {
5959 }
6060 }
6161 Setting {
62+ id: gotoProxy
6263 last: true
6364 Layout .fillWidth : true
6465 header: qsTr (" Proxy settings" )
65- actionItem: Button {
66- icon .source : " image://images/caret-right"
67- icon .color : Theme .color .neutral9
68- icon .height : 18
69- icon .width : 18
70- background: null
66+ actionItem: CaretRightButton {
67+ stateColor: gotoProxy .stateColor
7168 }
7269 }
7370}
Original file line number Diff line number Diff line change @@ -47,44 +47,35 @@ Item {
4747 onClicked: loadedItem .toggled ()
4848 }
4949 Setting {
50+ id: gotoAbout
5051 Layout .fillWidth : true
5152 header: qsTr (" About" )
52- actionItem: Button {
53- icon .source : " image://images/caret-right"
54- icon .color : Theme .color .neutral9
55- icon .height : 18
56- icon .width : 18
57- background: null
53+ actionItem: CaretRightButton {
54+ stateColor: gotoAbout .stateColor
5855 onClicked: {
5956 nodeSettingsView .push (about_page)
6057 }
6158 }
6259 onClicked: loadedItem .clicked ()
6360 }
6461 Setting {
62+ id: gotoStorage
6563 Layout .fillWidth : true
6664 header: qsTr (" Storage" )
67- actionItem: Button {
68- icon .source : " image://images/caret-right"
69- icon .color : Theme .color .neutral9
70- icon .height : 18
71- icon .width : 18
72- background: null
65+ actionItem: CaretRightButton {
66+ stateColor: gotoStorage .stateColor
7367 onClicked: {
7468 nodeSettingsView .push (storage_page)
7569 }
7670 }
7771 onClicked: loadedItem .clicked ()
7872 }
7973 Setting {
74+ id: gotoConnection
8075 Layout .fillWidth : true
8176 header: qsTr (" Connection" )
82- actionItem: Button {
83- icon .source : " image://images/caret-right"
84- icon .color : Theme .color .neutral9
85- icon .height : 18
86- icon .width : 18
87- background: null
77+ actionItem: CaretRightButton {
78+ stateColor: gotoConnection .stateColor
8879 onClicked: {
8980 nodeSettingsView .push (connection_page)
9081 }
You can’t perform that action at this time.
0 commit comments