Skip to content

Commit

Permalink
allow DeckAuthor source for timeline
Browse files Browse the repository at this point in the history
Signed-off-by: kernelkind <[email protected]>
  • Loading branch information
kernelkind committed Dec 6, 2024
1 parent fbbd831 commit 9b4cf50
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ui/add_column.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9b4cf50

Please sign in to comment.