One more time fixed display of send as button above voice record bar.

This commit is contained in:
23rd 2022-12-05 05:35:26 +03:00
parent 6cb0834d19
commit 234fdbed4a
2 changed files with 2 additions and 1 deletions

View File

@ -1006,6 +1006,7 @@ void ComposeControls::setHistory(SetHistoryArgs &&args) {
}
session().local().readDraftsWithCursors(_history);
applyDraft();
orderControls();
}
void ComposeControls::setCurrentDialogsEntryState(Dialogs::EntryState state) {

View File

@ -945,7 +945,7 @@ CancelButton::CancelButton(not_null<Ui::RpWidget*> parent, int height)
: Ui::RippleButton(parent, st::defaultLightButton.ripple)
, _width(st::historyRecordCancelButtonWidth)
, _rippleRect(QRect(0, (height - _width) / 2, _width, _width))
, _text(st::semiboldTextStyle, tr::lng_selected_clear(tr::now).toUpper()) {
, _text(st::semiboldTextStyle, tr::lng_selected_clear(tr::now)) {
resize(_width, height);
init();
}