mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Use 'Next' in send media box in Scheduled section.
This commit is contained in:
parent
b1ed15447b
commit
fff2ee2758
1 changed files with 5 additions and 1 deletions
|
@ -330,7 +330,11 @@ void SendFilesBox::setupShadows() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void SendFilesBox::prepare() {
|
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) {
|
if (_sendType == Api::SendType::Normal) {
|
||||||
SendMenu::SetupMenuAndShortcuts(
|
SendMenu::SetupMenuAndShortcuts(
|
||||||
_send,
|
_send,
|
||||||
|
|
Loading…
Add table
Reference in a new issue