(
bridge: NativeBridge,
udid: String,
)
| 3180 | } |
| 3181 | |
| 3182 | pub(crate) async fn run_toggle_appearance_control( |
| 3183 | bridge: NativeBridge, |
| 3184 | udid: String, |
| 3185 | ) -> Result<(), AppError> { |
| 3186 | task::spawn_blocking(move || bridge.toggle_appearance(&udid)) |
| 3187 | .await |
| 3188 | .map_err(|error| AppError::internal(format!("Failed to join control task: {error}")))? |
| 3189 | } |
| 3190 | |
| 3191 | async fn chrome_profile( |
| 3192 | State(state): State<AppState>, |
no test coverage detected