Skip to content

Commit 4cac334

Browse files
committed
Refactor MobileGestaltManager initializer and update kfsread method call in ThreeAppBypassManager
1 parent 0218c45 commit 4cac334

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

lara/classes/MobileGestaltManager.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ public class MobileGestaltManager: ObservableObject {
2525
"CPUArchitecture"
2626
]
2727

28-
public init() {}
2928
private let overridesKey = "MGOverrides"
3029
private var overrides: [String: String] = [:]
3130
private let kfsOverridesPath = "/var/mobile/Library/lara/mobilegestalt_overrides.plist"

lara/classes/ThreeAppBypassManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ final class ThreeAppBypassManager: ObservableObject {
2121
}
2222

2323
func loadPatch(from path: String) -> PatchSet? {
24-
guard let d = laramgr.shared.kfsread(path) else {
24+
guard let d = laramgr.shared.kfsread(path: path) else {
2525
lastError = "Could not read patch file at \(path)"
2626
return nil
2727
}

0 commit comments

Comments
 (0)