MOBILE-3833 messages: Fix route conflicts
parent
02c2a5e508
commit
67fd2a23b1
|
@ -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, {
|
||||||
|
|
|
@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue