Removed uppercase from some phrases in export.

This commit is contained in:
23rd 2023-09-07 01:36:14 +03:00
parent fd79973509
commit d4ad5d9f13
1 changed files with 2 additions and 1 deletions

View File

@ -296,6 +296,7 @@ rpl::producer<> ProgressWidget::doneClicks() const {
}
void ProgressWidget::setupBottomButton(not_null<Ui::RoundButton*> button) {
button->setTextTransform(Ui::RoundButton::TextTransform::NoTransform);
button->show();
sizeValue(
@ -361,7 +362,7 @@ void ProgressWidget::showDone() {
tr::lng_export_done(),
st::exportDoneButton);
const auto desired = std::min(
st::exportDoneButton.font->width(tr::lng_export_done(tr::now).toUpper())
st::exportDoneButton.font->width(tr::lng_export_done(tr::now))
+ st::exportDoneButton.height
- st::exportDoneButton.font->height,
st::exportPanelSize.width() - 2 * st::exportCancelBottom);