fix: Image viewer
This commit is contained in:
parent
a5f191c8cf
commit
83f886a088
5 changed files with 99 additions and 71 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import 'package:fluffychat/pages/archive.dart';
|
||||
import 'package:fluffychat/pages/homeserver_picker.dart';
|
||||
import 'package:fluffychat/pages/image_viewer.dart';
|
||||
import 'package:fluffychat/pages/invitation_selection.dart';
|
||||
import 'package:fluffychat/pages/settings_emotes.dart';
|
||||
import 'package:fluffychat/pages/settings_multiple_emotes.dart';
|
||||
|
|
@ -51,6 +52,11 @@ class AppRoutes {
|
|||
widget: ChatList(),
|
||||
stackedRoutes: [
|
||||
VWidget(path: ':roomid', widget: Chat(), stackedRoutes: [
|
||||
VWidget(
|
||||
path: 'image/:eventid',
|
||||
widget: ImageViewer(),
|
||||
buildTransition: _fadeTransition,
|
||||
),
|
||||
VWidget(
|
||||
path: 'encryption',
|
||||
widget: ChatEncryptionSettings(),
|
||||
|
|
@ -126,6 +132,11 @@ class AppRoutes {
|
|||
widget: EmptyPage(),
|
||||
buildTransition: _fadeTransition,
|
||||
),
|
||||
VWidget(
|
||||
path: 'image/:eventid',
|
||||
widget: ImageViewer(),
|
||||
buildTransition: _fadeTransition,
|
||||
),
|
||||
VWidget(
|
||||
path: 'encryption',
|
||||
widget: ChatEncryptionSettings(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue