diff --git a/lib/ui/tiles/conversation_message_tile.dart b/lib/ui/tiles/conversation_message_tile.dart index dfc40d3..d171c12 100644 --- a/lib/ui/tiles/conversation_message_tile.dart +++ b/lib/ui/tiles/conversation_message_tile.dart @@ -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); diff --git a/lib/ui/widgets/conversation_file_tile.dart b/lib/ui/widgets/conversation_file_tile.dart index 9ab197c..bfff39e 100644 --- a/lib/ui/widgets/conversation_file_tile.dart +++ b/lib/ui/widgets/conversation_file_tile.dart @@ -83,14 +83,16 @@ class _ConversationFileWidgetState extends State { 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), ],