hide InputText and other icons when recording audio

This commit is contained in:
10G Meow 2023-04-09 15:31:04 +03:00
parent 19d3605e11
commit 8fe916111d

View file

@ -106,7 +106,7 @@
{{ typingMembersString }}
</div>
</v-row>
<v-row class="input-area-inner align-center">
<v-row class="input-area-inner align-center" v-if="!showRecorder">
<v-col class="flex-grow-1 flex-shrink-1 ma-0 pa-0">
<v-textarea height="undefined" ref="messageInput" full-width auto-grow rows="1" v-model="currentInput"
no-resize class="input-area-text" :placeholder="$t('message.your_message')" hide-details
@ -123,7 +123,7 @@
</v-btn>
</v-col>
<v-col v-if="(!currentInput || currentInput.length == 0) && !showRecorder && canCreatePoll"
<v-col v-if="(!currentInput || currentInput.length == 0) && canCreatePoll"
class="input-area-button text-center flex-grow-0 flex-shrink-1">
<v-btn icon large color="black" @click="showCreatePollDialog = true">
<v-icon dark>$vuetify.icons.poll</v-icon>
@ -159,7 +159,7 @@
</v-col>
<v-col v-if="$config.shortCodeStickers" class="input-area-button text-center flex-grow-0 flex-shrink-1">
<v-btn v-if="!showRecorder" id="btn-attach" icon large color="black" @click="showStickerPicker"
<v-btn id="btn-attach" icon large color="black" @click="showStickerPicker"
:disabled="attachButtonDisabled">
<v-icon large>face</v-icon>
</v-btn>
@ -167,7 +167,7 @@
<v-col class="input-area-button text-center flex-grow-0 flex-shrink-1">
<label icon flat ref="attachmentLabel">
<v-btn v-if="!showRecorder" icon large color="black" @click="showAttachmentPicker"
<v-btn icon large color="black" @click="showAttachmentPicker"
:disabled="attachButtonDisabled">
<v-icon x-large>add_circle_outline</v-icon>
</v-btn>