diff options
Diffstat (limited to 'adenosine-cli/src/pretty.rs')
-rw-r--r-- | adenosine-cli/src/pretty.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/adenosine-cli/src/pretty.rs b/adenosine-cli/src/pretty.rs index 764a46f..a3cb5d6 100644 --- a/adenosine-cli/src/pretty.rs +++ b/adenosine-cli/src/pretty.rs @@ -1,9 +1,9 @@ -use adenosine::app_bsky::{FeedPostView, PostView, ThreadPostView}; +use adenosine::app_bsky::{FeedViewPost, PostView, ThreadViewPost}; use anyhow::Result; use std::io::Write; use termcolor::{Color, ColorChoice, ColorSpec, StandardStream, WriteColor}; -pub fn pp_thread_post_view(tpv: &ThreadPostView) -> Result<()> { +pub fn pp_thread_post_view(tpv: &ThreadViewPost) -> Result<()> { // TODO: this could do better if let Some(parent) = &tpv.parent { pp_thread_post_view(parent)?; @@ -31,7 +31,7 @@ pub fn pp_thread_post_view(tpv: &ThreadPostView) -> Result<()> { Ok(()) } -pub fn pp_feed_post_view(fpv: &FeedPostView) -> Result<()> { +pub fn pp_feed_post_view(fpv: &FeedViewPost) -> Result<()> { let mut stdout = StandardStream::stdout(ColorChoice::Always); if let Some(repost) = &fpv.reason { |