fix(mobile): white screen issue with switching notes on iPad

This commit is contained in:
Mo
2022-06-18 10:43:41 -05:00
parent 3b6b5b1887
commit ea37bbe53f

View File

@@ -53,6 +53,8 @@ export const Root = () => {
const removeNoteObserver = application?.editorGroup.addActiveControllerChangeObserver(activeController => {
if (activeController instanceof NoteViewController) {
setActiveNoteView(activeController)
} else {
setActiveNoteView(undefined)
}
})