Skip to content

Commit ba6ab38

Browse files
Fix(core): State storage roaming type set to default for notification components (#5233)
* set roaming type to default for Notification state utils * set roaming type to default for Notification state utils
1 parent 370ed03 commit ba6ab38

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/notifications/NotificationStateUtils.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@
44
package software.aws.toolkits.jetbrains.core.notifications
55

66
import com.intellij.openapi.components.PersistentStateComponent
7-
import com.intellij.openapi.components.RoamingType
87
import com.intellij.openapi.components.Service
98
import com.intellij.openapi.components.State
109
import com.intellij.openapi.components.Storage
1110
import com.intellij.openapi.components.service
1211
import software.aws.toolkits.core.utils.ETagProvider
1312

1413
@Service
15-
@State(name = "notificationDismissals", storages = [Storage("aws.xml", roamingType = RoamingType.DISABLED)])
14+
@State(name = "notificationDismissals", storages = [Storage("aws.xml")])
1615
class NotificationDismissalState : PersistentStateComponent<NotificationDismissalConfiguration> {
1716
private val state = NotificationDismissalConfiguration()
1817

@@ -41,7 +40,7 @@ data class NotificationDismissalConfiguration(
4140
)
4241

4342
@Service
44-
@State(name = "notificationEtag", storages = [Storage("aws.xml", roamingType = RoamingType.DISABLED)])
43+
@State(name = "notificationEtag", storages = [Storage("aws.xml")])
4544
class NotificationEtagState : PersistentStateComponent<NotificationEtagConfiguration>, ETagProvider {
4645
private val state = NotificationEtagConfiguration()
4746

0 commit comments

Comments
 (0)