From 213332ee712b57ecdc5f0bb5e97d530c1ba8f434 Mon Sep 17 00:00:00 2001 From: kernelkind Date: Thu, 5 Dec 2024 20:24:59 -0500 Subject: [PATCH] allow DeckAuthor source for timeline Signed-off-by: kernelkind --- src/ui/add_column.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ui/add_column.rs b/src/ui/add_column.rs index 7315d26..a636b47 100644 --- a/src/ui/add_column.rs +++ b/src/ui/add_column.rs @@ -284,7 +284,11 @@ impl<'a> AddColumnView<'a> { }); if let Some(acc) = self.cur_account { - let source = PubkeySource::Explicit(acc.pubkey); + let source = if acc.secret_key.is_some() { + PubkeySource::DeckAuthor + } else { + PubkeySource::Explicit(acc.pubkey) + }; vec.push(ColumnOptionData { title: "Home timeline",