mirror of
https://github.com/zadam/trilium.git
synced 2026-02-11 00:04:27 +01:00
chore(mobile/tab_switcher): stop auto-showing
This commit is contained in:
parent
e7f356b87c
commit
e9b826e498
@ -21,7 +21,7 @@ import LinkButton from "../react/LinkButton";
|
||||
import Modal from "../react/Modal";
|
||||
|
||||
export default function TabSwitcher() {
|
||||
const [ shown, setShown ] = useState(true);
|
||||
const [ shown, setShown ] = useState(false);
|
||||
const mainNoteContexts = useMainNoteContexts();
|
||||
|
||||
return (
|
||||
@ -225,6 +225,7 @@ function getWorkspaceTabBackgroundColorHue(noteContext: NoteContext) {
|
||||
return getHue(parsedColor);
|
||||
} catch (e) {
|
||||
// Colors are non-critical, simply ignore.
|
||||
console.warn(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user