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:
Antonella Sgarlatta
2026-01-26 15:24:26 -03:00
committed by GitHub
parent e4c8aa02c3
commit dd014c8508

View File

@@ -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({