mirror of
https://codeberg.org/r4v3r23/mysu.git
synced 2024-11-14 01:21:54 +00:00
Fix trusted daemon settings
This commit is contained in:
parent
0a9d774f18
commit
384d440fe3
2 changed files with 2 additions and 2 deletions
|
@ -87,8 +87,8 @@ class HomeFragment : Fragment(), TxInfoAdapterListener {
|
||||||
lifecycleScope.launch(Dispatchers.IO) {
|
lifecycleScope.launch(Dispatchers.IO) {
|
||||||
Timber.d("Updating daemon:: $daemon")
|
Timber.d("Updating daemon:: $daemon")
|
||||||
WalletManager.instance?.setDaemon(daemon)
|
WalletManager.instance?.setDaemon(daemon)
|
||||||
WalletManager.instance?.wallet?.setTrustedDaemon(daemon.trusted)
|
|
||||||
WalletManager.instance?.wallet?.init(0)
|
WalletManager.instance?.wallet?.init(0)
|
||||||
|
WalletManager.instance?.wallet?.setTrustedDaemon(daemon.trusted)
|
||||||
WalletManager.instance?.wallet?.startRefresh()
|
WalletManager.instance?.wallet?.startRefresh()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,8 +64,8 @@ class MoneroHandlerThread(name: String, val listener: Listener?, wallet: Wallet)
|
||||||
wallet.setProxy(proxy)
|
wallet.setProxy(proxy)
|
||||||
}
|
}
|
||||||
WalletManager.instance?.setDaemon(currentNode)
|
WalletManager.instance?.setDaemon(currentNode)
|
||||||
currentNode?.trusted?.let { wallet.setTrustedDaemon(it) }
|
|
||||||
wallet.init(0)
|
wallet.init(0)
|
||||||
|
currentNode?.trusted?.let { wallet.setTrustedDaemon(it) }
|
||||||
wallet.setListener(this)
|
wallet.setListener(this)
|
||||||
wallet.startRefresh()
|
wallet.startRefresh()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue