mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
[diagnostics]: Added switches for OperationLogging to use them for debugging/diagnostics on device
This commit is contained in:
@@ -80,6 +80,7 @@ extension SettingsViewController
|
||||
case exportResignedApp
|
||||
case verboseOperationsLogging
|
||||
case exportSqliteDB
|
||||
case operationsLoggingControl
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1091,6 +1092,13 @@ extension SettingsViewController
|
||||
}
|
||||
}
|
||||
|
||||
case .operationsLoggingControl:
|
||||
// Instantiate SwiftUI View inside UIHostingController
|
||||
let operationsLoggingControlView = OperationsLoggingControlView()
|
||||
let operationsLoggingController = UIHostingController(rootView: operationsLoggingControlView)
|
||||
let segue = UIStoryboardSegue(identifier: "operationsLoggingControl", source: self, destination: operationsLoggingController)
|
||||
self.present(segue.destination, animated: true, completion: nil)
|
||||
|
||||
case .responseCaching, .exportResignedApp, .verboseOperationsLogging : break
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user