From 67fd2a23b16f8063f4235c4fc6e47bf5554cee39 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Thu, 17 Mar 2022 16:13:43 +0100 Subject: [PATCH] MOBILE-3833 messages: Fix route conflicts --- src/addons/messages/messages-lazy.module.ts | 2 +- .../pages/group-conversations/group-conversations.page.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/addons/messages/messages-lazy.module.ts b/src/addons/messages/messages-lazy.module.ts index 061f8f1e1..47a4d5d15 100644 --- a/src/addons/messages/messages-lazy.module.ts +++ b/src/addons/messages/messages-lazy.module.ts @@ -52,7 +52,7 @@ function buildRoutes(injector: Injector): Routes { .then(m => m.AddonMessagesContactsPageModule), }, { - path: 'preferences', + path: 'message-settings', loadChildren: () => import('./pages/settings/settings.module').then(m => m.AddonMessagesSettingsPageModule), }, ...buildTabMainRoutes(injector, { diff --git a/src/addons/messages/pages/group-conversations/group-conversations.page.ts b/src/addons/messages/pages/group-conversations/group-conversations.page.ts index f2d572663..73ff7d7e1 100644 --- a/src/addons/messages/pages/group-conversations/group-conversations.page.ts +++ b/src/addons/messages/pages/group-conversations/group-conversations.page.ts @@ -538,7 +538,7 @@ export class AddonMessagesGroupConversationsPage implements OnInit, OnDestroy { * Navigate to message settings. */ gotoSettings(): void { - CoreNavigator.navigateToSitePath('../preferences'); + CoreNavigator.navigateToSitePath('../message-settings'); } /**