diff --git a/CHANGELOG.md b/CHANGELOG.md index a9a92d320..7eb909c6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Changed +- Contact import now remembers the last used contact source ([#81]) ## [1.6.0] - 2026-01-30 ### Added @@ -118,6 +120,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#12]: https://github.com/FossifyOrg/Contacts/issues/12 [#30]: https://github.com/FossifyOrg/Contacts/issues/30 [#78]: https://github.com/FossifyOrg/Contacts/issues/78 +[#81]: https://github.com/FossifyOrg/Contacts/issues/81 [#157]: https://github.com/FossifyOrg/Contacts/issues/157 [#201]: https://github.com/FossifyOrg/Contacts/issues/201 [#281]: https://github.com/FossifyOrg/Contacts/issues/281 diff --git a/app/src/main/kotlin/org/fossify/contacts/dialogs/ImportContactsDialog.kt b/app/src/main/kotlin/org/fossify/contacts/dialogs/ImportContactsDialog.kt index d875953a6..2903448ca 100644 --- a/app/src/main/kotlin/org/fossify/contacts/dialogs/ImportContactsDialog.kt +++ b/app/src/main/kotlin/org/fossify/contacts/dialogs/ImportContactsDialog.kt @@ -61,6 +61,7 @@ class ImportContactsDialog(val activity: SimpleActivity, val path: String, priva ignoreClicks = true activity.toast(org.fossify.commons.R.string.importing) + activity.config.lastUsedContactSource = targetContactSource ensureBackgroundThread { val result = VcfImporter(activity).importContacts(path, targetContactSource) handleParseResult(result)