MOBILE-3947 app: Add development html class and upgrade class to ionic7
parent
c60519f2a8
commit
1e16f68070
|
@ -59,7 +59,8 @@ export class AppComponent implements OnInit, AfterViewInit {
|
|||
ngOnInit(): void {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
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', ''));
|
||||
|
||||
CoreEvents.on(CoreEvents.LOGOUT, async () => {
|
||||
|
|
Loading…
Reference in New Issue