fix(ui): The timer was opaque during hit testing when not recording

This commit is contained in:
PapaTutuWawa 2022-12-03 13:11:48 +01:00
parent 9affa0e89a
commit 0852a75d9f

View File

@ -359,6 +359,8 @@ class ConversationBottomRowState extends State<ConversationBottomRow> {
return AnimatedOpacity( return AnimatedOpacity(
opacity: state.isRecording ? 1 : 0, opacity: state.isRecording ? 1 : 0,
duration: const Duration(milliseconds: 300), duration: const Duration(milliseconds: 300),
child: IgnorePointer(
ignoring: !state.isRecording,
child: SizedBox( child: SizedBox(
height: 38, height: 38,
child: DecoratedBox( child: DecoratedBox(
@ -380,6 +382,7 @@ class ConversationBottomRowState extends State<ConversationBottomRow> {
null, null,
), ),
), ),
),
); );
}, },
), ),