refactor: Migrate routes to go router

This commit is contained in:
krille-chan 2023-08-07 18:40:02 +02:00
commit ee957ab1f6
No known key found for this signature in database
52 changed files with 584 additions and 612 deletions

View file

@ -31,7 +31,7 @@ class NewPrivateChatView extends StatelessWidget {
Padding(
padding: const EdgeInsets.all(8.0),
child: TextButton(
onPressed: () => VRouter.of(context).to('/newgroup'),
onPressed: () => context.go('/rooms/newgroup'),
child: Text(
L10n.of(context)!.createNewGroup,
style: