feat: Space settings route
This commit is contained in:
parent
04ce6768ce
commit
eb8716a144
3 changed files with 19 additions and 4 deletions
|
|
@ -52,8 +52,11 @@ class ChatDetailsView extends StatelessWidget {
|
|||
SliverAppBar(
|
||||
leading: IconButton(
|
||||
icon: Icon(Icons.close_outlined),
|
||||
onPressed: () =>
|
||||
VRouter.of(context).to('/rooms/${controller.roomId}'),
|
||||
onPressed: () => VRouter.of(context)
|
||||
.path
|
||||
.startsWith('/spaces/')
|
||||
? VRouter.of(context).pop()
|
||||
: VRouter.of(context).to('/rooms/${controller.roomId}'),
|
||||
),
|
||||
elevation: Theme.of(context).appBarTheme.elevation,
|
||||
expandedHeight: 300.0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue