Skip to content

Commit e2c636e

Browse files
fix: always use proper sorting in favorites fragment (#608)
Refs: #389
1 parent 1fabef4 commit e2c636e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
## [Unreleased]
88
### Fixed
99
- Fixed crash in call history
10+
- Fixed custom sorting in favorites not taking effect until app restart ([#389])
1011

1112
## [1.7.2] - 2025-10-01
1213
### Changed
@@ -203,6 +204,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
203204
[#357]: https://github.com/FossifyOrg/Phone/issues/357
204205
[#359]: https://github.com/FossifyOrg/Phone/issues/359
205206
[#378]: https://github.com/FossifyOrg/Phone/issues/378
207+
[#389]: https://github.com/FossifyOrg/Phone/issues/389
206208
[#526]: https://github.com/FossifyOrg/Phone/issues/526
207209
[#535]: https://github.com/FossifyOrg/Phone/issues/535
208210
[#543]: https://github.com/FossifyOrg/Phone/issues/543

app/src/main/kotlin/org/fossify/phone/fragments/FavoritesFragment.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ class FavoritesFragment(context: Context, attributeSet: AttributeSet) : MyViewPa
183183
val orderIds = items.map { it.contactId }
184184
val orderGsonString = Gson().toJson(orderIds)
185185
config.favoritesContactsOrder = orderGsonString
186+
allContacts = ArrayList(items)
186187
}
187188
}
188189

0 commit comments

Comments
 (0)