From ee5dd5426fbb9b23329ad122beb76ee1baed9708 Mon Sep 17 00:00:00 2001 From: kernelkind Date: Wed, 30 Oct 2024 13:45:22 -0400 Subject: [PATCH] tmp remove DeckAuthor columns we don't yet have logic for handling switching 'deck authors' and this is causing two problems: 1. the column title isn't renamed when the selected account is changed 2. when saving a deck author column to disk and the account is switched beforehand, it switches to the current deck author's column Signed-off-by: kernelkind --- src/ui/add_column.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/ui/add_column.rs b/src/ui/add_column.rs index 298addc..a25d4b8 100644 --- a/src/ui/add_column.rs +++ b/src/ui/add_column.rs @@ -178,11 +178,7 @@ impl<'a> AddColumnView<'a> { }); if let Some(acc) = self.cur_account { - let source = if acc.secret_key.is_some() { - PubkeySource::DeckAuthor - } else { - PubkeySource::Explicit(acc.pubkey) - }; + let source = PubkeySource::Explicit(acc.pubkey); vec.push(ColumnOptionData { title: "Home timeline",