mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-12 23:35:32 +00:00
5b9e4faa8a
This is required to control the resource consumption in case of no usage of wallet connect Hence we load the WebEngineView only if we have active pairings and such that SDK events are expected from the paired dapps. Also: - Moved the generic WebEngineView communication bridge to StatusQ - Added basic tests for WebEngineLoader - Add a way to know when wallet is loaded (`walletReady`) - Add storybook support for mock of nim sections as context properties Updates: #12639
13 lines
407 B
QML
13 lines
407 B
QML
// Mock of src/app/modules/main/wallet_section/networks/view.nim
|
|
import QtQuick 2.15
|
|
|
|
QtObject {
|
|
readonly property string contextPropertyName: "networksModule"
|
|
|
|
//
|
|
// Silence warnings
|
|
readonly property ListModel layer1: ListModel {}
|
|
readonly property ListModel layer2: ListModel {}
|
|
readonly property ListModel enabled: ListModel {}
|
|
readonly property ListModel all: ListModel {}
|
|
} |