mirror of
https://github.com/boldsuck/haveno.git
synced 2024-12-22 20:19:21 +00:00
set combined sync progress on user thread
This commit is contained in:
parent
14d17023a8
commit
7e898ba23d
1 changed files with 6 additions and 2 deletions
|
@ -546,12 +546,16 @@ public class MainViewModel implements ViewModel, HavenoSetup.HavenoSetupListener
|
|||
|
||||
private void updateXmrDaemonSyncProgress() {
|
||||
final DoubleProperty xmrDaemonSyncProgress = havenoSetup.getXmrDaemonSyncProgress();
|
||||
UserThread.execute(() -> {
|
||||
combinedSyncProgress.set(xmrDaemonSyncProgress.doubleValue());
|
||||
});
|
||||
}
|
||||
|
||||
private void updateXmrWalletSyncProgress() {
|
||||
final DoubleProperty xmrWalletSyncProgress = havenoSetup.getXmrWalletSyncProgress();
|
||||
UserThread.execute(() -> {
|
||||
combinedSyncProgress.set(xmrWalletSyncProgress.doubleValue());
|
||||
});
|
||||
}
|
||||
|
||||
private void setupInvalidOpenOffersHandler() {
|
||||
|
|
Loading…
Reference in a new issue