Merge pull request #4983 from tsiegleauq/mobile-edit-button

Adds the correct icon to the mobile action button
This commit is contained in:
Emanuel Schütze 2019-09-05 15:12:39 +02:00 committed by GitHub
commit be77723b55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -66,10 +66,10 @@
(click)="sendMainEvent()"
matTooltip="{{ mainActionTooltip | translate }}"
>
<mat-icon *ngIf="mainButtonIcon === 'add_circle'; else mainIconBlock">
<mat-icon *ngIf="mainButtonIcon === 'add_circle'">
add
</mat-icon>
</button>
<ng-template #mainIconBlock>
<mat-icon *ngIf="mainButtonIcon !== 'add_circle'">
{{ mainButtonIcon }}
</ng-template>
</mat-icon>
</button>

View File

@ -101,6 +101,7 @@
</mat-card>
<mat-menu #topicExtraMenu="matMenu">
<os-projector-button [object]="topic" [menuItem]="true"></os-projector-button>
<os-speaker-button [object]="topic" [menuItem]="true"></os-speaker-button>
<div>
<mat-divider></mat-divider>