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 -> {
resultHandler.run();
placeOfferCompleted.set(true);
if (!createOfferCanceled) placeOfferCompleted.set(true);
errorMessage.set(null);
}, errMessage -> {
createOfferRequested = false;