fix: Space settings routing problems
This commit is contained in:
parent
3340f93025
commit
70241f570a
4 changed files with 20 additions and 16 deletions
|
|
@ -240,9 +240,9 @@ class ChatDetailsController extends State<ChatDetails> {
|
|||
if ((room.states['im.ponies.room_emotes'] ?? <String, Event>{})
|
||||
.keys
|
||||
.any((String s) => s.isNotEmpty)) {
|
||||
VRouter.of(context).to('/rooms/${room.id}/details/multiple_emotes');
|
||||
VRouter.of(context).to('multiple_emotes');
|
||||
} else {
|
||||
VRouter.of(context).to('/rooms/${room.id}/details/emotes');
|
||||
VRouter.of(context).to('emotes');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue