MOBILE-3947 app: Add development html class and upgrade class to ionic7

main
Pau Ferrer Ocaña 2023-12-01 15:52:47 +01:00
parent c60519f2a8
commit 1e16f68070
1 changed files with 2 additions and 1 deletions

View File

@ -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 () => {