File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
PassepartoutLibrary/Sources/PassepartoutVPN/Managers Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
6
6
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
7
7
8
- ## Unreleased
8
+ ## 2.2.1 (2023-10-14)
9
+
10
+ ### Fixed
11
+
12
+ - Persisted profile is overwritten with its former value. [ #367 ] ( https://github.com/passepartoutvpn/passepartout-apple/issues/367 )
9
13
10
14
## 2.2.0 (2023-10-10)
11
15
Original file line number Diff line number Diff line change @@ -371,8 +371,7 @@ extension ProfileManager {
371
371
currentProfile. value = . placeholder
372
372
}
373
373
374
- let newProfile = profileRepository. profile ( withId: currentProfile. value. id)
375
- if let newProfile = newProfile, newProfile != currentProfile. value {
374
+ if let newProfile = newProfiles [ currentProfile. value. id] , newProfile != currentProfile. value {
376
375
pp_log. info ( " Current profile remotely updated " )
377
376
currentProfile. value = newProfile
378
377
}
You can’t perform that action at this time.
0 commit comments