1
This commit is contained in:
1 parent
55f35673df
commit
9fbb414ee6
29 files changed
+3480
-460
No files matched your search
@@ -26,9 +26,13 @@ class ProjectHistoryService {
|
||||
List<String>? resolvedOpenFiles = openFilePaths;
|
||||
|
||||
if(existingIndex != -1) {
|
||||
resolvedFile ??= history[existingIndex].lastOpenedFilePath;
|
||||
if (openFilePaths == null) {
|
||||
resolvedFile ??= history[existingIndex].lastOpenedFilePath;
|
||||
resolvedOpenFiles ??= history[existingIndex].openFilePaths;
|
||||
} else if (openFilePaths.isEmpty) {
|
||||
resolvedFile = null;
|
||||
}
|
||||
resolvedOpenDirs ??= history[existingIndex].openDirectoryPaths;
|
||||
resolvedOpenFiles ??= history[existingIndex].openFilePaths;
|
||||
history.removeAt(existingIndex);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user