Use 'Next' in send media box in Scheduled section.

This commit is contained in:
John Preston 2020-11-19 17:16:25 +03:00
parent b1ed15447b
commit fff2ee2758
1 changed files with 5 additions and 1 deletions

View File

@ -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,