fix showing offer created popup after canceled

This commit is contained in:
woodser 2024-11-23 13:41:08 -05:00
parent 7d17d7d40d
commit a0738ed38d

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;