forked from EVOgeek/Vmeda.Online
		
	MOBILE-3947 chore: Fix Ionic package name conflicts
This commit is contained in:
		
							parent
							
								
									e8dd8be967
								
							
						
					
					
						commit
						c773a4d426
					
				| @ -28,7 +28,7 @@ import { Subscription } from 'rxjs'; | ||||
| import { CoreUtils } from '@services/utils/utils'; | ||||
| import { Params } from '@angular/router'; | ||||
| import { CoreNavBarButtonsComponent } from '../navbar-buttons/navbar-buttons'; | ||||
| import { StackEvent } from '@ionic/angular/directives/navigation/stack-utils'; | ||||
| import { StackDidChangeEvent } from '@ionic/angular/common/directives/navigation/stack-utils'; | ||||
| import { CoreNavigator } from '@services/navigator'; | ||||
| import { CoreTabBase, CoreTabsBaseComponent } from '@classes/tabs'; | ||||
| import { CoreDirectivesRegistry } from '@singletons/directives-registry'; | ||||
| @ -90,7 +90,7 @@ export class CoreTabsOutletComponent extends CoreTabsBaseComponent<CoreTabsOutle | ||||
|             return; | ||||
|         } | ||||
| 
 | ||||
|         this.stackEventsSubscription = this.ionTabs.outlet.stackEvents.subscribe(async (stackEvent: StackEvent) => { | ||||
|         this.stackEventsSubscription = this.ionTabs.outlet.stackDidChange.subscribe(async (stackEvent: StackDidChangeEvent) => { | ||||
|             if (!this.isCurrentView) { | ||||
|                 return; | ||||
|             } | ||||
|  | ||||
| @ -15,7 +15,7 @@ | ||||
| import { Injectable } from '@angular/core'; | ||||
| import { ActivatedRoute, ActivatedRouteSnapshot, NavigationEnd, Params } from '@angular/router'; | ||||
| 
 | ||||
| import { NavigationOptions } from '@ionic/angular/providers/nav-controller'; | ||||
| import { NavigationOptions } from '@ionic/angular/common/providers/nav-controller'; | ||||
| 
 | ||||
| import { CoreConstants } from '@/core/constants'; | ||||
| import { CoreDomUtils } from '@services/utils/dom'; | ||||
| @ -437,8 +437,8 @@ export class CoreNavigatorService { | ||||
|      * | ||||
|      * @returns Promise resolved when done. | ||||
|      */ | ||||
|     back(): Promise<void> { | ||||
|         return NavController.pop(); | ||||
|     async back(): Promise<void> { | ||||
|         await NavController.pop(); | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|  | ||||
							
								
								
									
										2
									
								
								src/types/angular.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								src/types/angular.d.ts
									
									
									
									
										vendored
									
									
								
							| @ -13,7 +13,7 @@ | ||||
| // limitations under the License.
 | ||||
| 
 | ||||
| import { UrlTree } from '@angular/router'; | ||||
| import { NavigationOptions } from '@ionic/angular/providers/nav-controller'; | ||||
| import { NavigationOptions } from '@ionic/angular/common/providers/nav-controller'; | ||||
| 
 | ||||
| declare module '@ionic/angular' { | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user