Merge branch 'soru/escape-routes' into 'main'
fix: Properly encode and decode vRouter paths See merge request famedly/fluffychat!487
This commit is contained in:
commit
f1e76fbb10
22 changed files with 47 additions and 38 deletions
|
|
@ -102,8 +102,12 @@ class _ContactListTile extends StatelessWidget {
|
|||
fontWeight: FontWeight.bold,
|
||||
)
|
||||
: null),
|
||||
onTap: () => VRouter.of(context).to(
|
||||
'/rooms/${Matrix.of(context).client.getDirectChatFromUserId(contact.senderId)}'),
|
||||
onTap: () => VRouter.of(context).toSegments([
|
||||
'rooms',
|
||||
Matrix.of(context)
|
||||
.client
|
||||
.getDirectChatFromUserId(contact.senderId)
|
||||
]),
|
||||
);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue