refactor: Migrate from pathsegment routing

This commit is contained in:
Krille 2023-08-13 16:07:15 +02:00
commit b715eff839
No known key found for this signature in database
15 changed files with 20 additions and 23 deletions

View file

@ -28,8 +28,7 @@ class ChatEncryptionSettingsView extends StatelessWidget {
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.close_outlined),
onPressed: () =>
context.go(['', 'rooms', controller.roomId!].join('/')),
onPressed: () => context.go('/rooms/${controller.roomId!}'),
),
title: Text(L10n.of(context)!.encryption),
actions: [