Skip to content

Commit b9af5ba

Browse files
committed
allow DeckAuthor source for timeline
Signed-off-by: kernelkind <[email protected]>
1 parent 9b23da5 commit b9af5ba

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/ui/add_column.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,11 @@ impl<'a> AddColumnView<'a> {
284284
});
285285

286286
if let Some(acc) = self.cur_account {
287-
let source = PubkeySource::Explicit(acc.pubkey);
287+
let source = if acc.secret_key.is_some() {
288+
PubkeySource::DeckAuthor
289+
} else {
290+
PubkeySource::Explicit(acc.pubkey)
291+
};
288292

289293
vec.push(ColumnOptionData {
290294
title: "Home timeline",

0 commit comments

Comments
 (0)