MOBILE-3833 messages: Fix route conflicts

main
Noel De Martin 2022-03-17 16:13:43 +01:00
parent 02c2a5e508
commit 67fd2a23b1
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ function buildRoutes(injector: Injector): Routes {
.then(m => m.AddonMessagesContactsPageModule), .then(m => m.AddonMessagesContactsPageModule),
}, },
{ {
path: 'preferences', path: 'message-settings',
loadChildren: () => import('./pages/settings/settings.module').then(m => m.AddonMessagesSettingsPageModule), loadChildren: () => import('./pages/settings/settings.module').then(m => m.AddonMessagesSettingsPageModule),
}, },
...buildTabMainRoutes(injector, { ...buildTabMainRoutes(injector, {

View File

@ -538,7 +538,7 @@ export class AddonMessagesGroupConversationsPage implements OnInit, OnDestroy {
* Navigate to message settings. * Navigate to message settings.
*/ */
gotoSettings(): void { gotoSettings(): void {
CoreNavigator.navigateToSitePath('../preferences'); CoreNavigator.navigateToSitePath('../message-settings');
} }
/** /**