forked from Public/monero-gui
Ledger: improve hw wallet splash screen
This commit is contained in:
@@ -258,6 +258,11 @@ bool Wallet::isHwBacked() const
|
||||
return m_walletImpl->getDeviceType() != Monero::Wallet::Device_Software;
|
||||
}
|
||||
|
||||
bool Wallet::isLedger() const
|
||||
{
|
||||
return m_walletImpl->getDeviceType() == Monero::Wallet::Device_Ledger;
|
||||
}
|
||||
|
||||
//! create a view only wallet
|
||||
bool Wallet::createViewOnly(const QString &path, const QString &password) const
|
||||
{
|
||||
|
||||
@@ -180,6 +180,7 @@ public:
|
||||
|
||||
//! hw-device backed wallets
|
||||
Q_INVOKABLE bool isHwBacked() const;
|
||||
Q_INVOKABLE bool isLedger() const;
|
||||
|
||||
//! returns if view only wallet
|
||||
Q_INVOKABLE bool viewOnly() const;
|
||||
|
||||
Reference in New Issue
Block a user