2022-05-07 11:45:15 +00:00
|
|
|
import utils 1.0
|
|
|
|
|
2022-03-02 12:54:58 +00:00
|
|
|
import StatusQ.Components 0.1
|
|
|
|
import StatusQ.Core 0.1
|
2022-03-04 09:09:58 +00:00
|
|
|
import StatusQ.Core.Theme 0.1
|
2022-03-02 12:54:58 +00:00
|
|
|
|
|
|
|
StatusListItem {
|
|
|
|
property var network
|
2023-06-27 19:56:44 +00:00
|
|
|
property bool areTestNetworksEnabled
|
2022-03-02 12:54:58 +00:00
|
|
|
title: network.chainName
|
2022-08-11 11:55:08 +00:00
|
|
|
asset.name: Style.svg(network.iconUrl)
|
|
|
|
asset.isImage: true
|
2022-03-02 12:54:58 +00:00
|
|
|
width: parent.width
|
2022-05-07 11:45:15 +00:00
|
|
|
leftPadding: Style.current.padding
|
|
|
|
rightPadding: Style.current.padding
|
2022-03-02 12:54:58 +00:00
|
|
|
components: [
|
2023-06-27 19:56:44 +00:00
|
|
|
StatusBaseText {
|
|
|
|
text: qsTr("Goerli testnet active")
|
|
|
|
font.pixelSize: 15
|
|
|
|
color: Theme.palette.baseColor1
|
|
|
|
visible: areTestNetworksEnabled
|
|
|
|
},
|
2022-03-02 12:54:58 +00:00
|
|
|
StatusIcon {
|
2023-04-25 10:32:57 +00:00
|
|
|
icon: "next"
|
2022-03-02 12:54:58 +00:00
|
|
|
color: Theme.palette.baseColor1
|
|
|
|
}
|
|
|
|
]
|
2022-05-07 11:45:15 +00:00
|
|
|
}
|