Cancel an active recording if the chat is switched

This commit is contained in:
2020-07-05 12:21:07 +02:00
parent 4a1cf8c348
commit e1025a1569
3 changed files with 28 additions and 7 deletions

View File

@ -111,8 +111,8 @@
<Insets right="10.0" top="5.0" />
</GridPane.margin>
<buttons>
<Button fx:id="voiceButton" onAction="#voiceButtonClicked"
text="_Record Voice Message" />
<Button fx:id="voiceButton" disable="true"
onAction="#voiceButtonClicked" text="_Record Voice Message" />
<Button fx:id="postButton" defaultButton="true"
disable="true" mnemonicParsing="true" onAction="#postMessage"
prefHeight="10.0" prefWidth="75.0" text="_Post">