Skip to content

Commit

Permalink
fix: tooltip message
Browse files Browse the repository at this point in the history
  • Loading branch information
rajuAhmed1705 committed Jul 27, 2024
1 parent be5cf3f commit 099a851
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions designer_v2/lib/features/monitor/study_monitor_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -114,25 +114,25 @@ class StudyMonitorScreen extends StudyPageWidget {
percentage: activePercentage,
color: activeColor,
tooltip:
'${tr.monitoring_active}: ${monitorData.activeParticipants.map((e) => e.participantId)}',
'${tr.monitoring_active}: ${monitorData.activeParticipants.map((e) => e.participantId).length}',
),
_buildStat(
percentage: inactivePercentage,
color: inactiveColor,
tooltip:
'${tr.monitoring_inactive}: ${monitorData.inactiveParticipants.map((e) => e.participantId)}',
'${tr.monitoring_inactive}: ${monitorData.inactiveParticipants.map((e) => e.participantId).length}',
),
_buildStat(
percentage: dropoutPercentage,
color: dropoutColor,
tooltip:
'${tr.monitoring_dropout}: ${monitorData.dropoutParticipants.map((e) => e.participantId)}',
'${tr.monitoring_dropout}: ${monitorData.dropoutParticipants.map((e) => e.participantId).length}',
),
_buildStat(
percentage: completedPercentage,
color: completedColor,
tooltip:
'${tr.monitoring_completed}: ${monitorData.completedParticipants.map((e) => e.participantId)}',
'${tr.monitoring_completed}: ${monitorData.completedParticipants.map((e) => e.participantId).length}',
),
],
),
Expand Down

0 comments on commit 099a851

Please sign in to comment.