Remove redundant Cancel button in ScheduleBox.

This commit is contained in:
John Preston 2021-01-28 22:23:51 +04:00
parent 9be65f8812
commit 1ec6b4313d

View file

@ -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);