chore: better link color for saved activities tooltip (#5647)
This commit is contained in:
parent
ebc7dd2c2e
commit
bd2225cc6a
1 changed files with 5 additions and 5 deletions
|
|
@ -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,
|
||||
),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue