2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Fix crop photo box title.

This commit is contained in:
John Preston
2018-12-23 21:23:36 +04:00
parent aa94ca6619
commit 8bd3051224
7 changed files with 38 additions and 43 deletions

View File

@@ -74,7 +74,8 @@ void SetupPhoto(
return;
}
auto box = Ui::show(Box<PhotoCropBox>(image, self));
const auto box = Ui::show(
Box<PhotoCropBox>(image, lang(lng_settings_crop_profile)));
box->ready(
) | rpl::start_with_next([=](QImage &&image) {
Auth().api().uploadPeerPhoto(self, std::move(image));