chore: better link color for saved activities tooltip (#5647)

This commit is contained in:
ggurdin 2026-02-10 15:20:51 -05:00 committed by GitHub
parent ebc7dd2c2e
commit bd2225cc6a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -46,6 +46,10 @@ class ActivityArchiveState extends State<ActivityArchive> {
@override
Widget build(BuildContext context) {
final theme = Theme.of(context);
final linkColor = theme.brightness == Brightness.dark
? theme.colorScheme.primaryContainer
: theme.colorScheme.primary;
return StreamBuilder(
stream: Matrix.of(
context,
@ -92,11 +96,7 @@ class ActivityArchiveState extends State<ActivityArchive> {
text: L10n.of(
context,
).joinCourseForActivities,
style: TextStyle(
color: Theme.of(
context,
).colorScheme.primary,
),
style: TextStyle(color: linkColor),
recognizer: recognizer,
),
]