mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Pause story while previewing a voice note.
This commit is contained in:
parent
2cd08b8923
commit
1bdab16d7b
3 changed files with 3 additions and 3 deletions
|
@ -2971,7 +2971,7 @@ bool ComposeControls::isRecordingPressed() const {
|
|||
}
|
||||
|
||||
rpl::producer<bool> ComposeControls::recordingValue() const {
|
||||
return _recording.value();
|
||||
return _voiceRecordBar->shownValue();
|
||||
}
|
||||
|
||||
rpl::producer<bool> ComposeControls::hasSendTextValue() const {
|
||||
|
|
|
@ -218,7 +218,7 @@ public:
|
|||
[[nodiscard]] bool isLockPresent() const;
|
||||
[[nodiscard]] bool isRecording() const;
|
||||
[[nodiscard]] bool isRecordingPressed() const;
|
||||
[[nodiscard]] rpl::producer<bool> recordingValue() const;
|
||||
[[nodiscard]] rpl::producer<bool> recordingActiveValue() const;
|
||||
[[nodiscard]] rpl::producer<bool> hasSendTextValue() const;
|
||||
|
||||
void applyCloudDraft();
|
||||
|
|
|
@ -671,7 +671,7 @@ rpl::producer<bool> ReplyArea::activeValue() const {
|
|||
using namespace rpl::mappers;
|
||||
return rpl::combine(
|
||||
_controls->focusedValue(),
|
||||
_controls->recordingValue(),
|
||||
_controls->recordingActiveValue(),
|
||||
_controls->tabbedPanelShownValue(),
|
||||
_choosingAttach.value(),
|
||||
_1 || _2 || _3 || _4
|
||||
|
|
Loading…
Add table
Reference in a new issue