fix(mobile): white screen issue with switching notes on iPad
This commit is contained in:
@@ -53,6 +53,8 @@ export const Root = () => {
|
||||
const removeNoteObserver = application?.editorGroup.addActiveControllerChangeObserver(activeController => {
|
||||
if (activeController instanceof NoteViewController) {
|
||||
setActiveNoteView(activeController)
|
||||
} else {
|
||||
setActiveNoteView(undefined)
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user