experiments in a post-browser web
10
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(mobile): pass image content through to card renderer, remove cdylib from crate-type

+4 -3
+1 -1
backend/tauri-mobile/src-tauri/Cargo.toml
··· 12 12 # to make the lib name unique and wouldn't conflict with the bin name. 13 13 # This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519 14 14 name = "peek_save_lib" 15 - crate-type = ["staticlib", "cdylib", "rlib"] 15 + crate-type = ["staticlib", "rlib"] 16 16 17 17 [build-dependencies] 18 18 tauri-build = { version = "2", features = [] }
+1 -2
backend/tauri-mobile/src-tauri/tauri.conf.json
··· 5 5 "identifier": "com.dietrich.peek-mobile", 6 6 "build": { 7 7 "beforeBuildCommand": "npm run build", 8 - "frontendDist": "../dist", 9 - "devUrl": "http://192.168.50.69:5188" 8 + "frontendDist": "../dist" 10 9 }, 11 10 "app": { 12 11 "windows": [
+2
backend/tauri-mobile/src/App.tsx
··· 2116 2116 tags: image.tags, 2117 2117 saved_at: image.saved_at, 2118 2118 metadata: image.metadata, 2119 + content: image.content, 2119 2120 thumbnail: image.thumbnail, 2120 2121 mime_type: image.mime_type, 2121 2122 width: image.width, ··· 2351 2352 tags: item.tags, 2352 2353 saved_at: item.saved_at, 2353 2354 metadata: item.metadata, 2355 + content: item.content, 2354 2356 thumbnail: item.thumbnail, 2355 2357 mime_type: item.mime_type || "image/jpeg", 2356 2358 width: item.width,