fix: don't show send button if error in recording dialog (#5079)
This commit is contained in:
parent
2c176c052d
commit
663d4649e5
1 changed files with 8 additions and 2 deletions
|
|
@ -218,7 +218,10 @@ class RecordingDialogState extends State<RecordingDialog> {
|
|||
),
|
||||
),
|
||||
),
|
||||
if (error != true)
|
||||
// #Pangea
|
||||
// if (error != true)
|
||||
if (error == null)
|
||||
// Pangea#
|
||||
CupertinoDialogAction(
|
||||
onPressed: _stopAndSend,
|
||||
child: Text(L10n.of(context).send),
|
||||
|
|
@ -238,7 +241,10 @@ class RecordingDialogState extends State<RecordingDialog> {
|
|||
),
|
||||
),
|
||||
),
|
||||
if (error != true)
|
||||
// #Pangea
|
||||
// if (error != true)
|
||||
if (error == null)
|
||||
// Pangea#
|
||||
TextButton(
|
||||
onPressed: _stopAndSend,
|
||||
child: Text(L10n.of(context).send),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue