fix: Fixes issue where accessing a note from the command palette when not on the home list view causes view to switch to a different note when syncing (#2972)
This commit is contained in:
committed by
GitHub
parent
e4c8aa02c3
commit
dd014c8508
@@ -177,6 +177,7 @@ function CommandPalette() {
|
||||
return
|
||||
}
|
||||
if (decryptedItem instanceof SNNote) {
|
||||
void application.navigationController.selectHomeNavigationView()
|
||||
void application.itemListController.selectItemUsingInstance(decryptedItem, true)
|
||||
} else if (decryptedItem instanceof FileItem) {
|
||||
void application.filesController.handleFileAction({
|
||||
|
||||
Reference in New Issue
Block a user