mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-10-01 01:35:48 -04:00
set combined sync progress on user thread
This commit is contained in:
parent
14d17023a8
commit
7e898ba23d
@ -546,12 +546,16 @@ public class MainViewModel implements ViewModel, HavenoSetup.HavenoSetupListener
|
||||
|
||||
private void updateXmrDaemonSyncProgress() {
|
||||
final DoubleProperty xmrDaemonSyncProgress = havenoSetup.getXmrDaemonSyncProgress();
|
||||
combinedSyncProgress.set(xmrDaemonSyncProgress.doubleValue());
|
||||
UserThread.execute(() -> {
|
||||
combinedSyncProgress.set(xmrDaemonSyncProgress.doubleValue());
|
||||
});
|
||||
}
|
||||
|
||||
private void updateXmrWalletSyncProgress() {
|
||||
final DoubleProperty xmrWalletSyncProgress = havenoSetup.getXmrWalletSyncProgress();
|
||||
combinedSyncProgress.set(xmrWalletSyncProgress.doubleValue());
|
||||
UserThread.execute(() -> {
|
||||
combinedSyncProgress.set(xmrWalletSyncProgress.doubleValue());
|
||||
});
|
||||
}
|
||||
|
||||
private void setupInvalidOpenOffersHandler() {
|
||||
|
Loading…
Reference in New Issue
Block a user