mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 22:06:25 +00:00
77bde47de0
closes #3709
32 lines
666 B
QML
32 lines
666 B
QML
pragma Singleton
|
|
|
|
import QtQuick 2.13
|
|
|
|
QtObject {
|
|
id: root
|
|
|
|
property string activeChannelName: chatsModel.channelView.activeChannel.name
|
|
|
|
property var currentNetwork: profileModel.network.current
|
|
|
|
function getUrlFromUserInput(input) {
|
|
return utilsModel.urlFromUserInput(input)
|
|
}
|
|
|
|
function getAscii2Hex(input) {
|
|
return utilsModel.ascii2Hex(input)
|
|
}
|
|
|
|
function getHex2Ascii(input) {
|
|
return utilsModel.hex2Ascii(input)
|
|
}
|
|
|
|
function getWei2Eth(wei,decimals) {
|
|
return utilsModel.wei2Eth(wei,decimals)
|
|
}
|
|
|
|
function generateIdenticon(pk) {
|
|
return utilsModel.generateIdenticon(pk)
|
|
}
|
|
}
|