Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Address review comments

Vishnu Mohandasfcf3b4099466
diff --git a/mobile/native/darwin/Apps/ensu/scripts/build-rust.sh b/mobile/native/darwin/Apps/ensu/scripts/build-rust.sh
index 27174439c6..5c252a521c 100755
--- a/mobile/native/darwin/Apps/ensu/scripts/build-rust.sh
+++ b/mobile/native/darwin/Apps/ensu/scripts/build-rust.sh
@@ -93,7 +93,7 @@ sanitize_generated_swift_bindings() {
return
fi
- perl -0pi -e 's@try! rustCall \{ (uniffi_(?:db|sync)_fn_free_[^(]+\([^)]*\), \$0) \}@// Avoid aborting the host app if Rust-side teardown fails during process shutdown.\n try? rustCall { $1 }@g' "${swift_file}"
+ perl -0pi -e 's@try! rustCall \{ (uniffi_(?:db|sync)_fn_free_[^(]+\([^)]*\)) \}@// Avoid aborting the host app if Rust-side teardown fails during process shutdown.\n try? rustCall { $1 }@g' "${swift_file}"
}
ensure_generated_bindings() {
diff --git a/web/apps/ensu/src/pages/chat.tsx b/web/apps/ensu/src/pages/chat.tsx
index 87668fd9a7..e1504b5a54 100644
--- a/web/apps/ensu/src/pages/chat.tsx
+++ b/web/apps/ensu/src/pages/chat.tsx
@@ -2432,10 +2432,6 @@ const Page: React.FC = () => {
useEffect(() => {
if (!firstPaintDone) return;
- if (providerRef.current?.getBackendKind() === "tauri") {
- setModelGateStatus("missing");
- return;
- }
const cancelIdle = scheduleIdleTask(() => {
void preloadModelIfAvailable();
}, 2000);