mirror of
https://github.com/aljazceru/notedeck.git
synced 2026-01-16 06:44:20 +01:00
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 <kernelkind@gmail.com>
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user