fix dumb programmer mistake in message.dart (reply isn't a rel_type, it's a seperate thing, idk how i wrote such code)

This commit is contained in:
OfficialDakari 2025-11-19 18:45:27 +05:00
parent ae014ad40b
commit 2b08ad928b
2 changed files with 11 additions and 5 deletions

View File

@ -385,8 +385,10 @@ class Message extends StatelessWidget {
crossAxisAlignment: crossAxisAlignment:
CrossAxisAlignment.start, CrossAxisAlignment.start,
children: <Widget>[ children: <Widget>[
if (event.relationshipType == if (event.inReplyToEventId(
RelationshipTypes.reply) includingFallback: false,
) !=
null)
FutureBuilder<Event?>( FutureBuilder<Event?>(
future: event future: event
.getReplyEvent(timeline), .getReplyEvent(timeline),
@ -703,7 +705,11 @@ class Message extends StatelessWidget {
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ children: [
Icon( Icon(
(thread?.hasNewMessages ?? false) ? Icons.mark_chat_unread_outlined : Icons.chat_bubble_outline, (thread?.hasNewMessages ??
false)
? Icons
.mark_chat_unread_outlined
: Icons.chat_bubble_outline,
color: Colors.grey[200], color: Colors.grey[200],
size: 20, size: 20,
), ),

View File

@ -1203,10 +1203,10 @@ packages:
description: description:
path: "." path: "."
ref: main ref: main
resolved-ref: "8272294736361eae8f3c81d220aaffcf30f38fb1" resolved-ref: "8a1070a9e3009d82d23b8468372f38320932c997"
url: "https://git.extera.xyz/OfficialDakari/matrix-dart-sdk.git" url: "https://git.extera.xyz/OfficialDakari/matrix-dart-sdk.git"
source: git source: git
version: "3.0.2" version: "4.0.0"
meta: meta:
dependency: transitive dependency: transitive
description: description: