fix: fix null check error in activity role tooltip (#3935)
This commit is contained in:
parent
98406c70f8
commit
b6e357bf5f
1 changed files with 1 additions and 2 deletions
|
|
@ -40,8 +40,7 @@ class ActivityRoleTooltipState extends State<ActivityRoleTooltip> {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
if (widget.choreographer.itController.willOpen ||
|
||||
room.showActivityChatUI && room.ownRole?.goal != null) {
|
||||
if (!room.showActivityChatUI || room.ownRole?.goal == null) {
|
||||
return const SizedBox();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue