Browse Source

fix: send dart notification (#1629)

Co-authored-by: nathan <[email protected]>
Nathan.fooo 2 years ago
parent
commit
35a93939fe
2 changed files with 4 additions and 1 deletions
  1. 1 1
      frontend/rust-lib/dart-ffi/Cargo.toml
  2. 3 0
      frontend/rust-lib/dart-notify/Cargo.toml

+ 1 - 1
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]

+ 3 - 0
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 = []