diff --git a/plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/notifications/CustomizeNotificationsUi.kt b/plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/notifications/CustomizeNotificationsUi.kt index 920ba519eac..ba18c46d60e 100644 --- a/plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/notifications/CustomizeNotificationsUi.kt +++ b/plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/notifications/CustomizeNotificationsUi.kt @@ -59,12 +59,10 @@ object NotificationManager { add( NotificationActionList(AwsCoreBundle.message("general.more_dialog")) { if (url == null) { - Messages.showYesNoDialog( + Messages.showMessageDialog( project, message, title, - AwsCoreBundle.message("general.acknowledge"), - AwsCoreBundle.message("general.cancel"), AllIcons.General.Error ) } else { diff --git a/plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/notifications/NotificationServiceInitializer.kt b/plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/notifications/NotificationServiceInitializer.kt index c8b84909ce5..150e2563794 100644 --- a/plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/notifications/NotificationServiceInitializer.kt +++ b/plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/notifications/NotificationServiceInitializer.kt @@ -13,6 +13,7 @@ internal class NotificationServiceInitializer : ProjectActivity { private val initialized = AtomicBoolean(false) override suspend fun execute(project: Project) { + ProcessNotificationsBase.getInstance(project) if (ApplicationManager.getApplication().isUnitTestMode) return if (initialized.compareAndSet(false, true)) { val service = NotificationPollingService.getInstance() diff --git a/plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/notifications/ProcessNotificationsBase.kt b/plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/notifications/ProcessNotificationsBase.kt index e759d9d079f..324a70e3a0f 100644 --- a/plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/notifications/ProcessNotificationsBase.kt +++ b/plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/notifications/ProcessNotificationsBase.kt @@ -31,6 +31,7 @@ class ProcessNotificationsBase( ) { private val notifListener = mutableListOf() init { + LOG.info { "Initializing ProcessNotificationsBase" } NotificationPollingService.getInstance().addObserver { retrieveStartupAndEmergencyNotifications() }