Show empty article toast before premium wall on send.

This commit is contained in:
John Preston
2026-07-11 13:40:42 +04:00
parent 68d0050229
commit 3615c421c1
@@ -934,6 +934,10 @@ private:
showAttachmentFailedToast();
return false;
}
if (_state->articleEmpty()) {
showEmptySubmittedPageToast();
return false;
}
auto simple = SerializeAsSimple(_state->richPage(), _session);
const auto weak = base::make_weak(this);
const auto withPaymentApproved = [weak](int approved) {