mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-04-23 07:59:59 -04:00
Get sd core to compile on mobile + deps update
This commit is contained in:
@@ -37,12 +37,12 @@
|
||||
"class-variance-authority": "^0.7.0",
|
||||
"dayjs": "^1.11.10",
|
||||
"event-target-polyfill": "^0.0.4",
|
||||
"expo": "~51.0.28",
|
||||
"expo-av": "^14.0.6",
|
||||
"expo": "~51.0.32",
|
||||
"expo-av": "^14.0.7",
|
||||
"expo-blur": "^13.0.2",
|
||||
"expo-build-properties": "~0.12.5",
|
||||
"expo-haptics": "~13.0.1",
|
||||
"expo-image": "^1.12.13",
|
||||
"expo-image": "^1.12.15",
|
||||
"expo-linking": "~6.3.1",
|
||||
"expo-media-library": "~16.0.4",
|
||||
"expo-splash-screen": "~0.27.5",
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
use std::io;
|
||||
use std::io::Error;
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
use specta::Type;
|
||||
@@ -129,6 +128,7 @@ impl HardwareModel {
|
||||
#[cfg(target_os = "ios")]
|
||||
{
|
||||
use std::ffi::CString;
|
||||
use std::io::Error;
|
||||
use std::ptr;
|
||||
|
||||
extern "C" {
|
||||
@@ -186,7 +186,7 @@ impl HardwareModel {
|
||||
}
|
||||
|
||||
if let Some(device_type) = get_device_type() {
|
||||
let hardware_model = Self::from_display_name(&device_type.as_str());
|
||||
let hardware_model = HardwareModel::from(device_type.as_str());
|
||||
|
||||
Ok(hardware_model)
|
||||
} else {
|
||||
|
||||
BIN
pnpm-lock.yaml
generated
BIN
pnpm-lock.yaml
generated
Binary file not shown.
Reference in New Issue
Block a user