Skip to content

Commit

Permalink
Change version
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemKar123 authored and mfilippov committed Dec 11, 2023
1 parent f3df043 commit fb23ace
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class LogHighlightingSettingsStore : PersistentStateComponent<LogHighlightingSet
fun getInstance() = getService<LogHighlightingSettingsStore>()
val logger = Logger.getInstance("LogHighlightingSettingsStore")

const val CURRENT_SETTINGS_VERSION = "7"
const val CURRENT_SETTINGS_VERSION = "8"

val cleanState = State()

Expand Down Expand Up @@ -248,6 +248,12 @@ class LogHighlightingSettingsStore : PersistentStateComponent<LogHighlightingSet

newState.version = "7"
return@lambda newState
},
"7" to lambda@{ oldState ->
val newState = oldState.clone()

newState.version = "8"
return@lambda newState
}
)
}
Expand Down

0 comments on commit fb23ace

Please sign in to comment.