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:
parent
201200299c
commit
3546bacc83
@ -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);
|
||||
|
@ -83,14 +83,16 @@ class _ConversationFileWidgetState extends State<ConversationFileWidget> {
|
||||
Icon(file.icon, color: Colors.white),
|
||||
Spacer(),
|
||||
Text(
|
||||
file.name.length < 23
|
||||
? file.name
|
||||
: file.name.substring(0, 20) + "...",
|
||||
textAlign: TextAlign.center),
|
||||
file.name.length < 23
|
||||
? file.name
|
||||
: file.name.substring(0, 20) + "...",
|
||||
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),
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user