MOBILE-4362 core: Simplify iframe fullscreen icon

main
Noel De Martin 2023-07-04 16:11:54 +02:00
parent 214a95ba75
commit 05780835c6
1 changed files with 1 additions and 2 deletions

View File

@ -7,8 +7,7 @@
<core-navbar-buttons slot="end" prepend *ngIf="initialized && showFullscreenOnToolbar && !loading">
<ion-button fill="clear" (click)="toggleFullscreen()"
[attr.aria-label]="(fullscreen ? 'core.disablefullscreen' : 'core.fullscreen') | translate">
<ion-icon *ngIf="!fullscreen" name="fas-expand" slot="icon-only" aria-hidden="true"></ion-icon>
<ion-icon *ngIf="fullscreen" name="fas-compress" slot="icon-only" aria-hidden="true"></ion-icon>
<ion-icon [name]="fullscreen ? 'fas-compress' : 'fas-expand'" slot="icon-only" aria-hidden="true"></ion-icon>
</ion-button>
</core-navbar-buttons>