refactor: rely on component versions from checksums file (#1111)
This commit is contained in:
@@ -51,7 +51,9 @@ export const Root = () => {
|
||||
}
|
||||
})
|
||||
const removeNoteObserver = application?.editorGroup.addActiveControllerChangeObserver(activeController => {
|
||||
setActiveNoteView(activeController)
|
||||
if (activeController instanceof NoteViewController) {
|
||||
setActiveNoteView(activeController)
|
||||
}
|
||||
})
|
||||
|
||||
return () => {
|
||||
@@ -112,7 +114,7 @@ export const Root = () => {
|
||||
</NotesContainer>
|
||||
{activeNoteView && !activeNoteView.dealloced && isInTabletMode && (
|
||||
<ComposeContainer>
|
||||
<Compose noteUuid={activeNoteView.note.uuid} />
|
||||
<Compose noteUuid={activeNoteView.item.uuid} />
|
||||
<ExpandTouchable style={{ bottom: collapseIconBottomPosition }} onPress={toggleNoteList}>
|
||||
<Icon name={collapseIconName} size={24} color={hexToRGBA(theme.stylekitInfoColor, 0.85)} />
|
||||
</ExpandTouchable>
|
||||
|
||||
Reference in New Issue
Block a user