fix showing offer created popup after canceled

This commit is contained in:
woodser 2024-11-23 13:41:08 -05:00
parent c9cf5351c0
commit 103c45d412

View file

@ -613,7 +613,7 @@ public abstract class MutableOfferViewModel<M extends MutableOfferDataModel> ext
dataModel.onPlaceOffer(offer, transaction -> { dataModel.onPlaceOffer(offer, transaction -> {
resultHandler.run(); resultHandler.run();
placeOfferCompleted.set(true); if (!createOfferCanceled) placeOfferCompleted.set(true);
errorMessage.set(null); errorMessage.set(null);
}, errMessage -> { }, errMessage -> {
createOfferRequested = false; createOfferRequested = false;