mirror of
https://github.com/smyalygames/checklist-tester.git
synced 2025-11-30 01:39:38 +01:00
feat(connector): add basic XPC connection
This commit is contained in:
@@ -85,8 +85,8 @@ class SimulatorStatus {
|
||||
/**
|
||||
* Purely for testing
|
||||
*/
|
||||
private suspend fun loadSimulator(viewModel: InterfaceState) {
|
||||
delay(1000)
|
||||
viewModel.simConnection = !viewModel.simConnection
|
||||
private fun loadSimulator(viewModel: InterfaceState) {
|
||||
val xpc = XPC()
|
||||
viewModel.simConnection = xpc.connected()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user