From fff2ee2758365489ad1e1a6f3b120cfa3eb163cf Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 19 Nov 2020 17:16:25 +0300 Subject: [PATCH] Use 'Next' in send media box in Scheduled section. --- Telegram/SourceFiles/boxes/send_files_box.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/boxes/send_files_box.cpp b/Telegram/SourceFiles/boxes/send_files_box.cpp index 0a943a356..041ae00e5 100644 --- a/Telegram/SourceFiles/boxes/send_files_box.cpp +++ b/Telegram/SourceFiles/boxes/send_files_box.cpp @@ -330,7 +330,11 @@ void SendFilesBox::setupShadows() { } void SendFilesBox::prepare() { - _send = addButton(tr::lng_send_button(), [=] { send({}); }); + _send = addButton( + (_sendType == Api::SendType::Normal + ? tr::lng_send_button() + : tr::lng_create_group_next()), + [=] { send({}); }); if (_sendType == Api::SendType::Normal) { SendMenu::SetupMenuAndShortcuts( _send,