chore: hide request regeneration button in practice mode (#5028)
This commit is contained in:
parent
a268c2a27d
commit
83b993d0e1
1 changed files with 4 additions and 1 deletions
|
|
@ -85,7 +85,10 @@ class OverlayCenterContent extends StatelessWidget {
|
|||
messageHeight: messageHeight,
|
||||
isTransitionAnimation: isTransitionAnimation,
|
||||
readingAssistanceMode: readingAssistanceMode,
|
||||
canRefresh: event.eventId == chatController.refreshEventID,
|
||||
canRefresh:
|
||||
(event.eventId == chatController.refreshEventID) &&
|
||||
(readingAssistanceMode !=
|
||||
ReadingAssistanceMode.practiceMode),
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue