mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 16:48:41 +00:00
fix #244
This commit is contained in:
parent
aeda40d34f
commit
869296074c
3 changed files with 7 additions and 3 deletions
|
|
@ -258,7 +258,6 @@ class _ChatListViewState extends State<ChatListView> {
|
|||
floatingActionButton: Padding(
|
||||
padding: const EdgeInsets.only(bottom: 30),
|
||||
child: FloatingActionButton(
|
||||
foregroundColor: Colors.white,
|
||||
onPressed: () {
|
||||
Navigator.push(
|
||||
context,
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Reference in a new issue