Merge pull request #2567 from devinbileck/fix-btc-status-incorrectly-hidden-on-splash-screen

Fix BTC status incorrectly hidden on splash screen
This commit is contained in:
Manfred Karrer 2019-03-21 13:13:01 -05:00 committed by GitHub
commit 0b1b89e617
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -610,11 +610,6 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
Timer showTorNetworkSettingsTimer = UserThread.runAfter(() -> {
showTorNetworkSettingsButton.setVisible(true);
showTorNetworkSettingsButton.setManaged(true);
if (btcSyncIndicator.progressProperty().getValue() <= 0) {
// If no progress has been made, hide the BTC status since tor is not working
btcSyncIndicator.setVisible(false);
btcSplashInfo.setVisible(false);
}
}, SHOW_TOR_SETTINGS_DELAY_SEC);
splashP2PNetworkIconIdListener = (ov, oldValue, newValue) -> {