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

This commit is contained in:
ggurdin 2025-09-10 14:00:11 -04:00 committed by GitHub
parent 98406c70f8
commit b6e357bf5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();
}