mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Removed uppercase from some phrases in export.
This commit is contained in:
parent
fd79973509
commit
d4ad5d9f13
1 changed files with 2 additions and 1 deletions
|
@ -296,6 +296,7 @@ rpl::producer<> ProgressWidget::doneClicks() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
void ProgressWidget::setupBottomButton(not_null<Ui::RoundButton*> button) {
|
void ProgressWidget::setupBottomButton(not_null<Ui::RoundButton*> button) {
|
||||||
|
button->setTextTransform(Ui::RoundButton::TextTransform::NoTransform);
|
||||||
button->show();
|
button->show();
|
||||||
|
|
||||||
sizeValue(
|
sizeValue(
|
||||||
|
@ -361,7 +362,7 @@ void ProgressWidget::showDone() {
|
||||||
tr::lng_export_done(),
|
tr::lng_export_done(),
|
||||||
st::exportDoneButton);
|
st::exportDoneButton);
|
||||||
const auto desired = std::min(
|
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.height
|
||||||
- st::exportDoneButton.font->height,
|
- st::exportDoneButton.font->height,
|
||||||
st::exportPanelSize.width() - 2 * st::exportCancelBottom);
|
st::exportPanelSize.width() - 2 * st::exportCancelBottom);
|
||||||
|
|
Loading…
Add table
Reference in a new issue