1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 21:09: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( return TextWidget(
content: message.message, content: message.message,
textAlign: TextAlign.justify, textAlign: TextAlign.justify,
style: TextStyle(color: darkTheme() ? Colors.white : Colors.black), style: TextStyle(color: Colors.white),
); );
return ConversationFileWidget(messageID: message.id, file: message.file); 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.length < 23
? file.name ? file.name
: file.name.substring(0, 20) + "...", : file.name.substring(0, 20) + "...",
textAlign: TextAlign.center), textAlign: TextAlign.center,
style: TextStyle(color: Colors.white),
),
Spacer(), Spacer(),
Text( Text(
filesize(file.size), filesize(file.size),
style: TextStyle(fontSize: 10), style: TextStyle(fontSize: 10, color: Colors.white),
), ),
Spacer(flex: 2), Spacer(flex: 2),
], ],