Remove redundant Cancel button in ScheduleBox.
This commit is contained in:
parent
9be65f8812
commit
1ec6b4313d
|
@ -90,7 +90,6 @@ void ScheduleBox(
|
|||
[=] { return SendMenu::Type::SilentOnly; },
|
||||
[=] { save(true, descriptor.collect()); },
|
||||
nullptr);
|
||||
box->addButton(tr::lng_cancel(), [=] { box->closeBox(); });
|
||||
|
||||
if (type == SendMenu::Type::ScheduledToUser) {
|
||||
const auto sendUntilOnline = box->addTopButton(st::infoTopBarMenu);
|
||||
|
|
Loading…
Reference in New Issue