From 2e1558fb87fcc6df0b89523e6781e86a95f8e633 Mon Sep 17 00:00:00 2001 From: Russell Date: Sun, 22 May 2022 22:17:00 -0400 Subject: [PATCH] Add Factory implementation for KeychainSettings --- CHANGELOG.md | 1 + .../com/russhwolf/settings/KeychainSettings.kt | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e45720d..042dfa5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - BREAKING: Remove default values for defaultValue parameters - Remove `@ExperimentalSettingsApi` from `ObservableSettings`, `SettingsListener`, and related APIs - Remove `@ExperimentalSettingsImplementation` from JVM implementations +- Add `Factory` implementation for `KeychainSettings` ## v0.9 *(2022-05-01)* ## diff --git a/multiplatform-settings/src/appleMain/kotlin/com/russhwolf/settings/KeychainSettings.kt b/multiplatform-settings/src/appleMain/kotlin/com/russhwolf/settings/KeychainSettings.kt index 60bb1d8a..aedc0966 100644 --- a/multiplatform-settings/src/appleMain/kotlin/com/russhwolf/settings/KeychainSettings.kt +++ b/multiplatform-settings/src/appleMain/kotlin/com/russhwolf/settings/KeychainSettings.kt @@ -98,6 +98,20 @@ public class KeychainSettings(vararg defaultProperties: Pair get() = memScoped { val attributes = alloc()