Skip to content

Commit

Permalink
Merge pull request #541 from alvasw/remove_wallet_config_popup
Browse files Browse the repository at this point in the history
UI: Remove Wallet Config Popup
  • Loading branch information
alvasw authored Nov 7, 2022
2 parents 00b503e + e61f8da commit 0383637
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 164 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import bisq.desktop.common.view.Controller;
import bisq.desktop.common.view.NavigationTarget;
import bisq.desktop.common.view.TabController;
import bisq.desktop.primary.main.content.wallet.config.WalletConfigPopup;
import bisq.desktop.primary.main.content.wallet.receive.WalletReceiveController;
import bisq.desktop.primary.main.content.wallet.send.WalletSendController;
import bisq.desktop.primary.main.content.wallet.transactions.WalletTransactionsController;
Expand All @@ -35,7 +34,6 @@ public abstract class WalletController extends TabController<WalletModel> implem
@Getter
private final WalletView view;
protected final DefaultApplicationService applicationService;
private final WalletConfigPopup walletConfigPopup;
protected final WalletService walletService;

public WalletController(DefaultApplicationService applicationService, NavigationTarget navigationTarget) {
Expand All @@ -45,15 +43,10 @@ public WalletController(DefaultApplicationService applicationService, Navigation
walletService = getWalletService();

view = new WalletView(model, this);

walletConfigPopup = new WalletConfigPopup(walletService, this::onConfigPopupClosed);
}

@Override
public void onActivate() {
if (!isWalletReady()) {
walletConfigPopup.show();
}
}

@Override
Expand Down Expand Up @@ -96,6 +89,4 @@ protected Optional<Controller> createController(NavigationTarget navigationTarge
protected boolean isWalletReady() {
return walletService.isWalletReady();
}

protected abstract void onConfigPopupClosed();
}

This file was deleted.

0 comments on commit 0383637

Please sign in to comment.