mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 14:48:41 +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(
|
||||
onTap: () {
|
||||
if (message.kind == MessageKind.media) {
|
||||
if (message.downloadState == DownloadState.downloaded) {
|
||||
if (message.downloadState == DownloadState.downloaded &&
|
||||
message.openedAt == null) {
|
||||
Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(builder: (context) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue