apply dev test flags

This commit is contained in:
Manfred Karrer 2016-05-25 15:52:58 +02:00
parent 39d6c1dc9b
commit 148278a959
2 changed files with 4 additions and 1 deletions

View file

@ -356,7 +356,7 @@ class TakeOfferDataModel extends ActivatableDataModel {
log.debug("missingCoin " + missingCoin.get().toFriendlyString());
isWalletFunded.set(isBalanceSufficient(balance.get()));
if (totalToPayAsCoin.get() != null && isWalletFunded.get() && walletFundedNotification == null) {
if (totalToPayAsCoin.get() != null && isWalletFunded.get() && walletFundedNotification == null && !DevFlags.DEV_MODE) {
walletFundedNotification = new Notification()
.headLine("Trading wallet update")
.notification("Your trading wallet is sufficiently funded.\n" +

View file

@ -175,6 +175,9 @@ public class TakeOfferView extends ActivatableViewAndModel<AnchorPane, TakeOffer
}
balanceTextField.setTargetAmount(model.dataModel.totalToPayAsCoin.get());
if (DevFlags.DEV_MODE)
UserThread.runAfter(() -> onShowPayFundsScreen(), 200, TimeUnit.MILLISECONDS);
}
@Override