fix: fix null check error in activity role tooltip (#3935)

pull/2245/head
ggurdin 2 months ago committed by GitHub
parent 98406c70f8
commit b6e357bf5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save