mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-25 04:38:23 +00:00
Fixed display of send as button above voice record bar.
This commit is contained in:
parent
823b4e6b98
commit
95a1ab6b0b
@ -2444,6 +2444,7 @@ void HistoryWidget::setEditMsgId(MsgId msgId) {
|
|||||||
_editMsgId = msgId;
|
_editMsgId = msgId;
|
||||||
if (_history) {
|
if (_history) {
|
||||||
refreshSendAsToggle();
|
refreshSendAsToggle();
|
||||||
|
orderWidgets();
|
||||||
}
|
}
|
||||||
registerDraftSource();
|
registerDraftSource();
|
||||||
}
|
}
|
||||||
@ -2568,6 +2569,7 @@ void HistoryWidget::setupSendAsToggle() {
|
|||||||
refreshSendAsToggle();
|
refreshSendAsToggle();
|
||||||
updateControlsVisibility();
|
updateControlsVisibility();
|
||||||
updateControlsGeometry();
|
updateControlsGeometry();
|
||||||
|
orderWidgets();
|
||||||
}, lifetime());
|
}, lifetime());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1375,6 +1375,7 @@ void ComposeControls::init() {
|
|||||||
if (_history && updateSendAsButton()) {
|
if (_history && updateSendAsButton()) {
|
||||||
updateControlsVisibility();
|
updateControlsVisibility();
|
||||||
updateControlsGeometry(_wrap->size());
|
updateControlsGeometry(_wrap->size());
|
||||||
|
orderControls();
|
||||||
}
|
}
|
||||||
registerDraftSource();
|
registerDraftSource();
|
||||||
}, _wrap->lifetime());
|
}, _wrap->lifetime());
|
||||||
@ -2064,6 +2065,7 @@ void ComposeControls::initSendAsButton() {
|
|||||||
if (updateSendAsButton()) {
|
if (updateSendAsButton()) {
|
||||||
updateControlsVisibility();
|
updateControlsVisibility();
|
||||||
updateControlsGeometry(_wrap->size());
|
updateControlsGeometry(_wrap->size());
|
||||||
|
orderControls();
|
||||||
}
|
}
|
||||||
}, _wrap->lifetime());
|
}, _wrap->lifetime());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user