Mercurial > hg > ugly-duckling
diff src/app/services/notifications/notifications.service.ts @ 505:cf4a17efb5d4
Update angular deps, fix material api changes. (currently running an earlier TypeScript version due to restrictions from angular)
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Thu, 12 Oct 2017 13:12:33 +0100 |
parents | 7f9fb84816b9 |
children |
line wrap: on
line diff
--- a/src/app/services/notifications/notifications.service.ts Fri Aug 25 17:10:11 2017 +0100 +++ b/src/app/services/notifications/notifications.service.ts Thu Oct 12 13:12:33 2017 +0100 @@ -2,10 +2,10 @@ * Created by lucast on 06/07/2017. */ import {Injectable} from '@angular/core'; -import {MdSnackBar} from '@angular/material'; +import {MatSnackBar} from '@angular/material'; @Injectable() export class NotificationService { - constructor(private snackBar: MdSnackBar) {} + constructor(private snackBar: MatSnackBar) {} displayError(message: string): void { // TODO perhaps actual distinguish this as an error?