1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00: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

Submodule jslib updated: f618c0b5ee...e0d5a4d8b7

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.');