mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-28 21:27:53 +00:00
Removed uppercase from some phrases in export.
This commit is contained in:
parent
fd79973509
commit
d4ad5d9f13
@ -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…
x
Reference in New Issue
Block a user