mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-29 14:30:31 +08:00
lib: Remove left-over function
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user