diff --git a/lib/src/views/chats/chat_list.view.dart b/lib/src/views/chats/chat_list.view.dart index 5d4171a..18c40f8 100644 --- a/lib/src/views/chats/chat_list.view.dart +++ b/lib/src/views/chats/chat_list.view.dart @@ -258,7 +258,6 @@ class _ChatListViewState extends State { floatingActionButton: Padding( padding: const EdgeInsets.only(bottom: 30), child: FloatingActionButton( - foregroundColor: Colors.white, onPressed: () { Navigator.push( context, diff --git a/lib/src/views/chats/chat_messages.view.dart b/lib/src/views/chats/chat_messages.view.dart index eeab56d..a014427 100644 --- a/lib/src/views/chats/chat_messages.view.dart +++ b/lib/src/views/chats/chat_messages.view.dart @@ -28,7 +28,7 @@ import 'package:twonly/src/views/tutorial/tutorials.dart'; Color getMessageColor(Message message) { return (message.messageOtherId == null) ? const Color.fromARGB(255, 58, 136, 102) - : const Color.fromARGB(83, 68, 137, 255); + : const Color.fromARGB(233, 68, 137, 255); } /// Displays detailed information about a SampleItem. diff --git a/lib/src/views/components/better_text.dart b/lib/src/views/components/better_text.dart index d48a45b..e522d71 100644 --- a/lib/src/views/components/better_text.dart +++ b/lib/src/views/components/better_text.dart @@ -1,6 +1,8 @@ import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; import 'package:twonly/src/utils/log.dart'; + +import 'package:twonly/src/utils/misc.dart'; import 'package:url_launcher/url_launcher.dart'; class BetterText extends StatelessWidget { @@ -28,7 +30,10 @@ class BetterText extends StatelessWidget { final url = match.group(0); spans.add(TextSpan( text: url, - style: const TextStyle(color: Colors.blue), + style: const TextStyle( + decoration: TextDecoration.underline, + decorationColor: Colors.white, + ), recognizer: TapGestureRecognizer() ..onTap = () async { final lUrl =