mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-12 19:50:46 +01:00
implement showToast
This commit is contained in:
parent
e066665f94
commit
324ea5114d
2
jslib
2
jslib
@ -1 +1 @@
|
||||
Subproject commit e0190f14be9f41c5e43c9d9c3f8c2c6aedb9657b
|
||||
Subproject commit e0d5a4d8b706f3b44a07d2d77e1bf127a117179d
|
@ -169,6 +169,10 @@ export default class BrowserPlatformUtilsService implements PlatformUtilsService
|
||||
return true;
|
||||
}
|
||||
|
||||
showToast(type: 'error' | 'success' | 'warning' | 'info', title: string, text: string, global?: any): void {
|
||||
throw new Error('showToast not implemented');
|
||||
}
|
||||
|
||||
showDialog(text: string, title?: string, confirmText?: string, cancelText?: string, type?: string) {
|
||||
const dialogId = Math.floor(Math.random() * Number.MAX_SAFE_INTEGER);
|
||||
this.messagingService.send('showDialog', {
|
||||
|
Loading…
Reference in New Issue
Block a user