mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
@@ -1213,6 +1213,7 @@ void HistoryWidget::initVoiceRecordBar() {
|
||||
|
||||
_voiceRecordBar->recordingStateChanges(
|
||||
) | rpl::start_with_next([=](bool active) {
|
||||
_field->setDisabled(active);
|
||||
controller()->widget()->setInnerFocus();
|
||||
}, lifetime());
|
||||
|
||||
|
||||
@@ -2541,6 +2541,7 @@ void ComposeControls::initVoiceRecordBar() {
|
||||
_recording = true;
|
||||
changeFocusedControl();
|
||||
}
|
||||
_field->setDisabled(active);
|
||||
_field->setVisible(!active);
|
||||
if (!active) {
|
||||
changeFocusedControl();
|
||||
|
||||
Reference in New Issue
Block a user