소스 검색

app: update drk's "connect" trigger definition

darkfi 2 일 전
부모
커밋
2c1153bf7d
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 5 2
      bin/app/src/main.rs

+ 5 - 2
bin/app/src/main.rs

@@ -820,8 +820,11 @@ pub fn create_drk(name: &str) -> SceneNode {
 
     node.add_signal(
         "connect",
-        "Connections and disconnects",
-        vec![("connected", "Is darkfid connected", CallArgType::Bool)],
+        "Darkfid connection update",
+        vec![
+            ("status", "Connection status", CallArgType::Uint32),
+            ("description", "Description", CallArgType::Str),
+        ],
     )
     .unwrap();