mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-25 22:39:22 +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(
|
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);
|
||||||
|
@ -83,14 +83,16 @@ class _ConversationFileWidgetState extends State<ConversationFileWidget> {
|
|||||||
Icon(file.icon, color: Colors.white),
|
Icon(file.icon, color: Colors.white),
|
||||||
Spacer(),
|
Spacer(),
|
||||||
Text(
|
Text(
|
||||||
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),
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user