mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 18:08:40 +00:00
fix #86
This commit is contained in:
parent
2dc73881e9
commit
511358d047
1 changed files with 2 additions and 1 deletions
|
|
@ -75,7 +75,8 @@ class ChatListEntry extends StatelessWidget {
|
||||||
child = GestureDetector(
|
child = GestureDetector(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
if (message.kind == MessageKind.media) {
|
if (message.kind == MessageKind.media) {
|
||||||
if (message.downloadState == DownloadState.downloaded) {
|
if (message.downloadState == DownloadState.downloaded &&
|
||||||
|
message.openedAt == null) {
|
||||||
Navigator.push(
|
Navigator.push(
|
||||||
context,
|
context,
|
||||||
MaterialPageRoute(builder: (context) {
|
MaterialPageRoute(builder: (context) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue