mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 05:52:41 +00:00
ee9091377f
Based on changes done in this PR https://github.com/status-im/status-go/pull/5807 we can simplify our client logic a lot. This results in the removal of many lines of code that are no longer needed Closes 1st part of #16336
41 lines
860 B
QML
41 lines
860 B
QML
import QtQuick 2.13
|
|
import utils 1.0
|
|
|
|
QtObject {
|
|
id: root
|
|
|
|
property var stickersModule
|
|
|
|
function getSigningPhrase() {
|
|
if(!root.stickersModule)
|
|
return ""
|
|
return stickersModule.getSigningPhrase()
|
|
}
|
|
|
|
function getStickersMarketAddress() {
|
|
if(!root.stickersModule)
|
|
return ""
|
|
return stickersModule.getStickersMarketAddress()
|
|
}
|
|
|
|
function getWalletDefaultAddress() {
|
|
if(!root.stickersModule)
|
|
return ""
|
|
return stickersModule.getWalletDefaultAddress()
|
|
}
|
|
|
|
function getCurrentCurrency() {
|
|
if(!root.stickersModule)
|
|
return ""
|
|
return stickersModule.getCurrentCurrency()
|
|
}
|
|
|
|
|
|
function getStatusTokenKey() {
|
|
if(!root.stickersModule)
|
|
return ""
|
|
return stickersModule.getStatusTokenKey()
|
|
}
|
|
}
|
|
|