diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ff46436f..01c3c57c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Fixed - Fixed crash in call history +- Fixed custom sorting in favorites not taking effect until app restart ([#389]) ## [1.7.2] - 2025-10-01 ### Changed @@ -203,6 +204,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#357]: https://github.com/FossifyOrg/Phone/issues/357 [#359]: https://github.com/FossifyOrg/Phone/issues/359 [#378]: https://github.com/FossifyOrg/Phone/issues/378 +[#389]: https://github.com/FossifyOrg/Phone/issues/389 [#526]: https://github.com/FossifyOrg/Phone/issues/526 [#535]: https://github.com/FossifyOrg/Phone/issues/535 [#543]: https://github.com/FossifyOrg/Phone/issues/543 diff --git a/app/src/main/kotlin/org/fossify/phone/fragments/FavoritesFragment.kt b/app/src/main/kotlin/org/fossify/phone/fragments/FavoritesFragment.kt index 261907687..a8a14c2ea 100644 --- a/app/src/main/kotlin/org/fossify/phone/fragments/FavoritesFragment.kt +++ b/app/src/main/kotlin/org/fossify/phone/fragments/FavoritesFragment.kt @@ -183,6 +183,7 @@ class FavoritesFragment(context: Context, attributeSet: AttributeSet) : MyViewPa val orderIds = items.map { it.contactId } val orderGsonString = Gson().toJson(orderIds) config.favoritesContactsOrder = orderGsonString + allContacts = ArrayList(items) } }