diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/message/message-detail.dialog.component.ts b/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/message/message-detail.dialog.component.ts index c469fcf7..389d4087 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/message/message-detail.dialog.component.ts +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/dialogs/message/message-detail.dialog.component.ts @@ -609,6 +609,15 @@ export class MessageDetailDialogComponent implements OnInit { this.selectedUnreadUserSeqs = []; this.rightDrawer.close(); } else { + this.snackBarService.open( + this.translateService.instant('chat.error.cancelledError'), + this.translateService.instant('common.messages.confirm'), + { + duration: 3000, + verticalPosition: 'bottom', + horizontalPosition: 'center' + } + ); this.logger.error('message cancel user Error!'); } }), diff --git a/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.html b/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.html index 8eacbece..ebe936ed 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.html +++ b/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.html @@ -5,7 +5,10 @@