mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-24 12:38:57 +00:00
* feat(network): implement new networks selection screen * fix: proper handling of test network icon * feat: changes to Network selector * feat: implement blockchain explorers menu * chore: move networks related properties and functions to NetworksStore * feat: remove usage of tiny network icons * fix: misc fixes * chore: change exception with error
56 lines
1.1 KiB
QML
56 lines
1.1 KiB
QML
import QtQuick 2.15
|
|
import QtQuick.Controls 2.15
|
|
|
|
import AppLayouts.Profile.popups.networkSettings 1.0
|
|
|
|
import Storybook 1.0
|
|
import Models 1.0
|
|
|
|
import StatusQ.Core 0.1
|
|
import StatusQ.Core.Utils 0.1
|
|
|
|
SplitView {
|
|
orientation: Qt.Vertical
|
|
|
|
QtObject {
|
|
id: d
|
|
|
|
property var networksModel: NetworksModel.flatNetworks
|
|
property var network: ModelUtils.get(d.networksModel, 0)
|
|
}
|
|
|
|
Item {
|
|
|
|
SplitView.fillWidth: true
|
|
SplitView.fillHeight: true
|
|
|
|
PopupBackground {
|
|
anchors.fill: parent
|
|
}
|
|
|
|
Button {
|
|
anchors.centerIn: parent
|
|
text: "Reopen"
|
|
|
|
onClicked: popup.open()
|
|
}
|
|
}
|
|
|
|
DeactivateNetworkPopup {
|
|
id: popup
|
|
anchors.centerIn: parent
|
|
width: 556
|
|
modal: false
|
|
visible: true
|
|
destroyOnClose: false
|
|
|
|
chainId: d.network.chainId
|
|
iconUrl: d.network.iconUrl
|
|
chainName: d.network.chainName
|
|
}
|
|
}
|
|
|
|
// category: Popups
|
|
|
|
// https://www.figma.com/design/idUoxN7OIW2Jpp3PMJ1Rl8/%E2%9A%99%EF%B8%8F-Settings-%7C-Desktop?node-id=25465-99580&m=dev
|