mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 11:18:41 +00:00
fix #237
This commit is contained in:
parent
aa7877dc64
commit
09e09b9613
2 changed files with 22 additions and 19 deletions
|
|
@ -117,6 +117,8 @@ class _MediaViewerViewState extends State<MediaViewerView> {
|
|||
setState(() {});
|
||||
if (firstRun) {
|
||||
loadCurrentMediaFile();
|
||||
// ignore: parameter_assignments
|
||||
firstRun = false;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
@ -585,18 +587,20 @@ class _MediaViewerViewState extends State<MediaViewerView> {
|
|||
],
|
||||
),
|
||||
),
|
||||
if (showSendTextMessageInput)
|
||||
Positioned(
|
||||
top: 20,
|
||||
left: 0,
|
||||
right: 0,
|
||||
top: 10,
|
||||
left: showSendTextMessageInput ? 0 : null,
|
||||
right: showSendTextMessageInput ? 0 : 15,
|
||||
child: Text(
|
||||
getContactDisplayName(widget.contact),
|
||||
textAlign: TextAlign.center,
|
||||
style: const TextStyle(
|
||||
fontSize: 24,
|
||||
style: TextStyle(
|
||||
fontSize: showSendTextMessageInput ? 24 : 14,
|
||||
fontWeight: FontWeight.bold,
|
||||
shadows: [
|
||||
color: showSendTextMessageInput
|
||||
? null
|
||||
: const Color.fromARGB(255, 126, 126, 126),
|
||||
shadows: const [
|
||||
Shadow(
|
||||
color: Color.fromARGB(122, 0, 0, 0),
|
||||
blurRadius: 5,
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@ 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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue