1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

show toast util

This commit is contained in:
Kyle Spearrin
2018-05-31 14:40:01 -04:00
parent 79f8370f7c
commit e0d5a4d8b7
2 changed files with 11 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ export abstract class PlatformUtilsService {
getApplicationVersion: () => string;
supportsU2f: (win: Window) => boolean;
supportsDuo: () => boolean;
showToast: (type: 'error' | 'success' | 'warning' | 'info', title: string, text: string) => void;
showDialog: (text: string, title?: string, confirmText?: string, cancelText?: string,
type?: string) => Promise<boolean>;
isDev: () => boolean;