Support personal photo edit in EditContactBox.

This commit is contained in:
John Preston
2022-12-20 17:12:32 +04:00
parent c7c652a277
commit 1dd83f3d34
26 changed files with 484 additions and 182 deletions
@@ -73,7 +73,6 @@ not_null<Ui::RpWidget*> PanelForm::setupContent() {
object_ptr<Ui::UserpicButton>(
userpicWrap,
bot,
Ui::UserpicButton::Role::Custom,
st::passportFormUserpic));
userpicWrap->widthValue(
) | rpl::start_with_next([=](int width) {
@@ -31,7 +31,6 @@ PanelAskPassword::PanelAskPassword(
, _userpic(
this,
_controller->bot(),
Ui::UserpicButton::Role::Custom,
st::passportPasswordUserpic)
, _about1(
this,