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
1 changed files with 4 additions and 4 deletions

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),
), ),
), ),
], ],