Merge branch 'krille/file-follow-up' into 'main'

chore: Fix file message color follow up

See merge request famedly/fluffychat!665
This commit is contained in:
Krille Fear 2022-01-02 11:49:58 +00:00
commit cd4981e225

View File

@ -34,7 +34,7 @@ class MessageDownloadContent extends StatelessWidget {
children: [
Icon(
Icons.file_download_outlined,
color: Theme.of(context).colorScheme.secondary,
color: textColor,
),
const SizedBox(width: 8),
Expanded(
@ -42,7 +42,7 @@ class MessageDownloadContent extends StatelessWidget {
filename,
maxLines: 1,
style: TextStyle(
color: Theme.of(context).colorScheme.secondary,
color: textColor,
fontWeight: FontWeight.bold,
),
),
@ -55,7 +55,7 @@ class MessageDownloadContent extends StatelessWidget {
Text(
filetype,
style: TextStyle(
color: textColor,
color: textColor.withAlpha(150),
),
),
const Spacer(),
@ -63,7 +63,7 @@ class MessageDownloadContent extends StatelessWidget {
Text(
sizeString,
style: TextStyle(
color: textColor,
color: textColor.withAlpha(150),
),
),
],