Radish alpha
r
Radicle terminal user interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
lib: Remove left-over function
Erik Kundt committed 1 year ago
commit ff1d329d1aa8640a05378b77870b29079c14105f
parent b02aa3c890718872945cd4f8a704e0e0eae5d823
1 file changed +0 -5
modified src/ui/widget.rs
@@ -303,11 +303,6 @@ impl<S: 'static, M: 'static> Widget<S, M> {
        self.on_render = Some(callback);
        self
    }
-

-
    /// Sends a message to the widgets' message channel.
-
    pub fn send(&self, message: M) {
-
        let _ = self.sender.send(message);
-
    }
}

/// A `View` needs to be wrapped into a `Widget` in order to be used with the framework.