MOBILE-3833 core: Fix error when renaming local file

main
Dani Palou 2022-04-13 16:09:23 +02:00
parent 7097d3c9fc
commit dab598f473
1 changed files with 3 additions and 3 deletions

View File

@ -22,13 +22,13 @@
</ion-input>
<div class="buttons" slot="end">
<ion-button fill="clear" *ngIf="isIOS" (click)="openFile($event, true)" [attr.aria-label]="openButtonLabel | translate">
<ion-button fill="clear" *ngIf="isIOS && !editMode" (click)="openFile($event, true)"
[attr.aria-label]="openButtonLabel | translate">
<ion-icon slot="icon-only" [name]="openButtonIcon" aria-hidden="true"></ion-icon>
</ion-button>
<ng-container *ngIf="manage">
<ion-button *ngIf="editMode" fill="clear" [attr.aria-label]="'core.save' | translate" color="success" type="submit"
(click)="changeName(newFileName, $event)">
<ion-button *ngIf="editMode" fill="clear" [attr.aria-label]="'core.save' | translate" color="success" type="submit">
<ion-icon name="fas-check" slot="icon-only" aria-hidden="true"></ion-icon>
</ion-button>