diff options
Diffstat (limited to 'gui/src/app.rs')
-rw-r--r-- | gui/src/app.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gui/src/app.rs b/gui/src/app.rs index 8f4d579..73808c8 100644 --- a/gui/src/app.rs +++ b/gui/src/app.rs @@ -117,6 +117,15 @@ impl Application for Distrox { } } + Message::PostCreated(cid) => { + state.input_value = String::new(); + log::info!("Post created: {}", cid); + } + + Message::PostCreationFailed(err) => { + log::error!("Post creation failed: {}", err); + } + Message::PostLoaded((payload, content)) => { state.timeline.push(payload, content); } |