chore: Fix file message color follow up

This commit is contained in:
Krille Fear 2022-01-02 12:31:10 +01:00
parent 5b538e385b
commit e1b3b8242b

View File

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