Merge pull request #3199 from crazyserver/MOBILE-3814

Mobile 3814
main
Dani Palou 2022-03-22 16:19:35 +01:00 committed by GitHub
commit 790dfdfe82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -51,11 +51,11 @@
<ion-col size="auto" *ngIf="isLayoutSwitcherAvailable">
<ion-button *ngIf="layout == 'card'" fill="outline" (click)="toggleLayout('list')"
[attr.aria-label]="'addon.block_myoverview.list' | translate">
<ion-icon slot="icon-only" name="fas-list"></ion-icon>
<ion-icon slot="icon-only" name="fas-list" aria-hidden="true"></ion-icon>
</ion-button>
<ion-button *ngIf="layout == 'list'" fill="outline" (click)="toggleLayout('card')"
[attr.aria-label]="'addon.block_myoverview.card' | translate">
<ion-icon slot="icon-only" name="fas-th"></ion-icon>
<ion-icon slot="icon-only" name="fas-th" aria-hidden="true"></ion-icon>
</ion-button>
</ion-col>
</ion-row>

View File

@ -33,7 +33,6 @@ import { CoreFileHelperProvider } from '@services/file-helper';
import { CoreFilepoolProvider } from '@services/filepool';
import { CoreFileProvider } from '@services/file';
import { CoreFileSessionProvider } from '@services/file-session';
import { CoreForms } from '@singletons/form';
import { CoreGeolocationProvider } from '@services/geolocation';
import { CoreGroupsProvider } from '@services/groups';
import { CoreIframeUtilsProvider } from '@services/utils/iframe';
@ -51,11 +50,9 @@ import { CoreUpdateManagerProvider } from '@services/update-manager';
import { CoreUrlUtilsProvider } from '@services/utils/url';
import { CoreUtilsProvider } from '@services/utils/utils';
import { CoreWSProvider } from '@services/ws';
import { CoreComponentsRegistry } from '@singletons/components-registry';
export const CORE_SERVICES: Type<unknown>[] = [
CoreAppProvider,
CoreComponentsRegistry,
CoreConfigProvider,
CoreCronDelegateService,
CoreCustomURLSchemesProvider,
@ -65,7 +62,6 @@ export const CORE_SERVICES: Type<unknown>[] = [
CoreFilepoolProvider,
CoreFileProvider,
CoreFileSessionProvider,
CoreForms,
CoreGeolocationProvider,
CoreGroupsProvider,
CoreIframeUtilsProvider,

View File

@ -79,6 +79,9 @@ import { Md5 } from 'ts-md5/dist/md5';
// Import core classes that can be useful for site plugins.
import { CoreSyncBaseProvider } from '@classes/base-sync';
import { CoreArray } from '@singletons/array';
import { CoreComponentsRegistry } from '@singletons/components-registry';
import { CoreDom } from '@singletons/dom';
import { CoreForms } from '@singletons/form';
import { CoreText } from '@singletons/text';
import { CoreUrl } from '@singletons/url';
import { CoreWindow } from '@singletons/window';
@ -151,7 +154,6 @@ import { ADDON_PRIVATEFILES_SERVICES } from '@addons/privatefiles/privatefiles.m
// Import some addon modules that define components, directives and pipes. Only import the important ones.
import { AddonModAssignComponentsModule } from '@addons/mod/assign/components/components.module';
import { AddonModWorkshopComponentsModule } from '@addons/mod/workshop/components/components.module';
import { CoreDom } from '@singletons/dom';
/**
* Service to provide functionalities regarding compiling dynamic HTML and Javascript.
@ -342,7 +344,9 @@ export class CoreCompileProvider {
instance['Md5'] = Md5;
instance['CoreSyncBaseProvider'] = CoreSyncBaseProvider;
instance['CoreArray'] = CoreArray;
instance['CoreComponentsRegistry'] = CoreComponentsRegistry;
instance['CoreDom'] = CoreDom;
instance['CoreForms'] = CoreForms;
instance['CoreText'] = CoreText;
instance['CoreUrl'] = CoreUrl;
instance['CoreWindow'] = CoreWindow;