mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fixed appearing of transcribe button on various messages with video.
This commit is contained in:
parent
079c36abf3
commit
290e8bb449
1 changed files with 1 additions and 1 deletions
|
@ -1752,7 +1752,7 @@ bool Gif::needCornerStatusDisplay() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Gif::ensureTranscribeButton() const {
|
void Gif::ensureTranscribeButton() const {
|
||||||
if (_data->session().premium()) {
|
if (_data->isVideoMessage() && _data->session().premium()) {
|
||||||
if (!_transcribe) {
|
if (!_transcribe) {
|
||||||
_transcribe = std::make_unique<TranscribeButton>(
|
_transcribe = std::make_unique<TranscribeButton>(
|
||||||
_realParent,
|
_realParent,
|
||||||
|
|
Loading…
Add table
Reference in a new issue