revert fully incorrect change, fix saving

GitOrigin-RevId: 90ca8fb9ded3489451f3229d8db22c6207df52de
This commit is contained in:
Vladimir Krivosheev
2024-07-16 11:57:58 +02:00
committed by intellij-monorepo-bot
parent 238bca8a26
commit 516fca61ef

View File

@@ -90,7 +90,7 @@ private class LocalSettingsController : DelegatedSettingsController {
@Service(Service.Level.APP)
private class InternalAndCacheStorageManager : SettingsSavingComponent {
@JvmField
val storeManager: MvStoreManager = MvStoreManager(readOnly = true)
val storeManager: MvStoreManager = MvStoreManager(readOnly = !ApplicationManager.getApplication().isSaveAllowed)
// Telemetry is not ready at this point yet
val cacheMap by lazy {