Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

fix: send dart notification (#1629)

Nathan.fooo35a93939fe03
diff --git a/frontend/rust-lib/dart-ffi/Cargo.toml b/frontend/rust-lib/dart-ffi/Cargo.toml
index a8b3892ac2..71f64fb101 100644
--- a/frontend/rust-lib/dart-ffi/Cargo.toml
+++ b/frontend/rust-lib/dart-ffi/Cargo.toml
@@ -27,7 +27,7 @@ parking_lot = "0.12.1"
lib-dispatch = { path = "../lib-dispatch" }
flowy-sdk = { path = "../flowy-sdk" }
-dart-notify = { path = "../dart-notify" }
+dart-notify = { path = "../dart-notify", feature = ["dart"] }
flowy-derive = { path = "../flowy-derive" }
[features]
diff --git a/frontend/rust-lib/dart-notify/Cargo.toml b/frontend/rust-lib/dart-notify/Cargo.toml
index 57a7663043..7c65ca7065 100644
--- a/frontend/rust-lib/dart-notify/Cargo.toml
+++ b/frontend/rust-lib/dart-notify/Cargo.toml
@@ -17,3 +17,6 @@ lib-dispatch = {path = "../lib-dispatch" }
[build-dependencies]
flowy-codegen = { path = "../flowy-codegen", features = ["dart"]}
+
+[features]
+dart = []
\ No newline at end of file