forked from EVOgeek/Vmeda.Online
		
	MOBILE-3947 app: Add development html class and upgrade class to ionic7
This commit is contained in:
		
							parent
							
								
									c60519f2a8
								
							
						
					
					
						commit
						1e16f68070
					
				| @ -59,7 +59,8 @@ export class AppComponent implements OnInit, AfterViewInit { | |||||||
|     ngOnInit(): void { |     ngOnInit(): void { | ||||||
|         // eslint-disable-next-line @typescript-eslint/no-explicit-any
 |         // eslint-disable-next-line @typescript-eslint/no-explicit-any
 | ||||||
|         const win = <any> window; |         const win = <any> window; | ||||||
|         CoreDomUtils.toggleModeClass('ionic5', true, { includeLegacy: true }); |         CoreDomUtils.toggleModeClass('ionic7', true, { includeLegacy: true }); | ||||||
|  |         CoreDomUtils.toggleModeClass('development', CoreConstants.BUILD.isDevelopment); | ||||||
|         this.addVersionClass(MOODLEAPP_VERSION_PREFIX, CoreConstants.CONFIG.versionname.replace('-dev', '')); |         this.addVersionClass(MOODLEAPP_VERSION_PREFIX, CoreConstants.CONFIG.versionname.replace('-dev', '')); | ||||||
| 
 | 
 | ||||||
|         CoreEvents.on(CoreEvents.LOGOUT, async () => { |         CoreEvents.on(CoreEvents.LOGOUT, async () => { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user