mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 16:28:40 +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(
|
floatingActionButton: Padding(
|
||||||
padding: const EdgeInsets.only(bottom: 30),
|
padding: const EdgeInsets.only(bottom: 30),
|
||||||
child: FloatingActionButton(
|
child: FloatingActionButton(
|
||||||
foregroundColor: Colors.white,
|
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
Navigator.push(
|
Navigator.push(
|
||||||
context,
|
context,
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ import 'package:twonly/src/views/tutorial/tutorials.dart';
|
||||||
Color getMessageColor(Message message) {
|
Color getMessageColor(Message message) {
|
||||||
return (message.messageOtherId == null)
|
return (message.messageOtherId == null)
|
||||||
? const Color.fromARGB(255, 58, 136, 102)
|
? 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.
|
/// Displays detailed information about a SampleItem.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
import 'package:flutter/gestures.dart';
|
import 'package:flutter/gestures.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:twonly/src/utils/log.dart';
|
import 'package:twonly/src/utils/log.dart';
|
||||||
|
|
||||||
|
import 'package:twonly/src/utils/misc.dart';
|
||||||
import 'package:url_launcher/url_launcher.dart';
|
import 'package:url_launcher/url_launcher.dart';
|
||||||
|
|
||||||
class BetterText extends StatelessWidget {
|
class BetterText extends StatelessWidget {
|
||||||
|
|
@ -28,7 +30,10 @@ class BetterText extends StatelessWidget {
|
||||||
final url = match.group(0);
|
final url = match.group(0);
|
||||||
spans.add(TextSpan(
|
spans.add(TextSpan(
|
||||||
text: url,
|
text: url,
|
||||||
style: const TextStyle(color: Colors.blue),
|
style: const TextStyle(
|
||||||
|
decoration: TextDecoration.underline,
|
||||||
|
decorationColor: Colors.white,
|
||||||
|
),
|
||||||
recognizer: TapGestureRecognizer()
|
recognizer: TapGestureRecognizer()
|
||||||
..onTap = () async {
|
..onTap = () async {
|
||||||
final lUrl =
|
final lUrl =
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue