1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 12:59:21 +00:00

Fix issues on white mode

This commit is contained in:
Pierre HUBERT 2021-03-13 08:40:37 +01:00
parent 201200299c
commit 3546bacc83
2 changed files with 8 additions and 6 deletions

View File

@ -110,7 +110,7 @@ class ConversationMessageTile extends StatelessWidget {
return TextWidget(
content: message.message,
textAlign: TextAlign.justify,
style: TextStyle(color: darkTheme() ? Colors.white : Colors.black),
style: TextStyle(color: Colors.white),
);
return ConversationFileWidget(messageID: message.id, file: message.file);

View File

@ -86,11 +86,13 @@ class _ConversationFileWidgetState extends State<ConversationFileWidget> {
file.name.length < 23
? file.name
: file.name.substring(0, 20) + "...",
textAlign: TextAlign.center),
textAlign: TextAlign.center,
style: TextStyle(color: Colors.white),
),
Spacer(),
Text(
filesize(file.size),
style: TextStyle(fontSize: 10),
style: TextStyle(fontSize: 10, color: Colors.white),
),
Spacer(flex: 2),
],