1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

implement showToast

This commit is contained in:
Kyle Spearrin 2018-05-31 14:43:45 -04:00
parent a9e3d31b07
commit ce1887154b
2 changed files with 5 additions and 1 deletions

2
jslib

@ -1 +1 @@
Subproject commit f618c0b5ee7bcf3cc351721611fabf57dd785211
Subproject commit e0d5a4d8b706f3b44a07d2d77e1bf127a117179d

View File

@ -101,6 +101,10 @@ export class NodePlatformUtilsService implements PlatformUtilsService {
return false;
}
showToast(type: 'error' | 'success' | 'warning' | 'info', title: string, text: string, global?: any): void {
throw new Error('Not implemented.');
}
showDialog(text: string, title?: string, confirmText?: string, cancelText?: string, type?: string):
Promise<boolean> {
throw new Error('Not implemented.');