refactor: Migrate routes to go router
This commit is contained in:
parent
739edde729
commit
ee957ab1f6
52 changed files with 584 additions and 612 deletions
|
|
@ -21,7 +21,7 @@ class ImageViewerController extends State<ImageViewer> {
|
|||
/// Forward this image to another room.
|
||||
void forwardAction() {
|
||||
Matrix.of(context).shareContent = widget.event.content;
|
||||
VRouter.of(context).to('/rooms');
|
||||
context.go('/rooms');
|
||||
}
|
||||
|
||||
/// Save this file with a system call.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue