parent
f21d05aa53
commit
fb4d563804
|
@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Oeck provider is available again to free users.
|
- Oeck provider is available again to free users.
|
||||||
|
- Randomic crashes on profile updates.
|
||||||
|
|
||||||
## 2.0.0 (2022-10-02)
|
## 2.0.0 (2022-10-02)
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,6 @@ class ProfileRepository: Repository {
|
||||||
func fetchedHeaders() -> FetchedValueHolder<[UUID: Profile.Header]> {
|
func fetchedHeaders() -> FetchedValueHolder<[UUID: Profile.Header]> {
|
||||||
let request: NSFetchRequest<NSFetchRequestResult> = CDProfile.fetchRequest()
|
let request: NSFetchRequest<NSFetchRequestResult> = CDProfile.fetchRequest()
|
||||||
request.sortDescriptors = [
|
request.sortDescriptors = [
|
||||||
.init(keyPath: \CDProfile.uuid, ascending: true),
|
|
||||||
.init(keyPath: \CDProfile.lastUpdate, ascending: true)
|
.init(keyPath: \CDProfile.lastUpdate, ascending: true)
|
||||||
]
|
]
|
||||||
request.propertiesToFetch = [
|
request.propertiesToFetch = [
|
||||||
|
@ -68,7 +67,6 @@ class ProfileRepository: Repository {
|
||||||
func profiles() -> [Profile] {
|
func profiles() -> [Profile] {
|
||||||
let request = CDProfile.fetchRequest()
|
let request = CDProfile.fetchRequest()
|
||||||
request.sortDescriptors = [
|
request.sortDescriptors = [
|
||||||
.init(keyPath: \CDProfile.uuid, ascending: true),
|
|
||||||
.init(keyPath: \CDProfile.lastUpdate, ascending: true)
|
.init(keyPath: \CDProfile.lastUpdate, ascending: true)
|
||||||
]
|
]
|
||||||
do {
|
do {
|
||||||
|
|
Loading…
Reference in New Issue