Fix migrateMode dropping allowAll to default cmuxOnly
migrateMode() had no case for "allowAll" rawValue, so it fell through to the default branch which returned .cmuxOnly. This silently downgraded any persisted allowAll setting.
This commit is contained in:
parent
21bbe80410
commit
4c42bd8078
1 changed files with 1 additions and 0 deletions
|
|
@ -44,6 +44,7 @@ struct SocketControlSettings {
|
|||
switch raw {
|
||||
case "off": return .off
|
||||
case "cmuxOnly": return .cmuxOnly
|
||||
case "allowAll": return .allowAll
|
||||
// Legacy values:
|
||||
case "notifications", "full": return .cmuxOnly
|
||||
default: return defaultMode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue