mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-06 11:52:58 +00:00
Show empty article toast before premium wall on send.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user