mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fixed display of send as button above voice record bar.
This commit is contained in:
@@ -2444,6 +2444,7 @@ void HistoryWidget::setEditMsgId(MsgId msgId) {
|
||||
_editMsgId = msgId;
|
||||
if (_history) {
|
||||
refreshSendAsToggle();
|
||||
orderWidgets();
|
||||
}
|
||||
registerDraftSource();
|
||||
}
|
||||
@@ -2568,6 +2569,7 @@ void HistoryWidget::setupSendAsToggle() {
|
||||
refreshSendAsToggle();
|
||||
updateControlsVisibility();
|
||||
updateControlsGeometry();
|
||||
orderWidgets();
|
||||
}, lifetime());
|
||||
}
|
||||
|
||||
|
||||
@@ -1375,6 +1375,7 @@ void ComposeControls::init() {
|
||||
if (_history && updateSendAsButton()) {
|
||||
updateControlsVisibility();
|
||||
updateControlsGeometry(_wrap->size());
|
||||
orderControls();
|
||||
}
|
||||
registerDraftSource();
|
||||
}, _wrap->lifetime());
|
||||
@@ -2064,6 +2065,7 @@ void ComposeControls::initSendAsButton() {
|
||||
if (updateSendAsButton()) {
|
||||
updateControlsVisibility();
|
||||
updateControlsGeometry(_wrap->size());
|
||||
orderControls();
|
||||
}
|
||||
}, _wrap->lifetime());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user