Include "Enable JIT" errors in Error Log

This commit is contained in:
nythepegasus
2024-05-06 17:57:13 -04:00
committed by ny
parent 6c8a400aec
commit 99652aae65
3 changed files with 53 additions and 39 deletions

View File

@@ -1352,11 +1352,13 @@ private extension MyAppsViewController
{
if #available(iOS 17, *), !UserDefaults.standard.sidejitenable {
let toastView = ToastView(error: OperationError.tooNewError)
AppManager.shared.log(OperationError.tooNewError, operation: .enableJIT, app: installedApp)
toastView.show(in: self)
return
}
if #unavailable(iOS 17), !minimuxer.ready() {
let toastView = ToastView(error: MinimuxerError.NoConnection)
AppManager.shared.log(MinimuxerError.NoConnection, operation: .connection, app: installedApp)
toastView.show(in: self)
return
}