[ACA-1115] Quick Share (#492)

* share file

* fix

* fix test dependency

* experimental guard
This commit is contained in:
Cilibiu Bogdan
2018-07-06 12:42:13 +03:00
committed by Denys Vuika
parent e5bc3bb755
commit 3e123bee62
21 changed files with 175 additions and 6 deletions

View File

@@ -46,6 +46,17 @@
<mat-icon>info_outline</mat-icon>
</button>
<ng-container *ifExperimental="'share'">
<button mat-icon-button
color="primary"
title="{{ 'APP.ACTIONS.SHARE' | translate }}"
*ngIf="selection.file"
[baseShareUrl]="sharedPreviewUrl$ | async"
[adf-share]="selection.file">
<mat-icon>share</mat-icon>
</button>
</ng-container>
<button
color="primary"
mat-icon-button