mirror of
https://github.com/h3pdesign/Neon-Vision-Editor
synced 2026-04-21 13:27:16 +00:00
Fix project tree refresh build break after rebase
This commit is contained in:
parent
f4996e6476
commit
51e82246cf
3 changed files with 4 additions and 5 deletions
|
|
@ -358,7 +358,7 @@
|
|||
CODE_SIGNING_ALLOWED = YES;
|
||||
CODE_SIGN_IDENTITY = "Apple Development";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 269;
|
||||
CURRENT_PROJECT_VERSION = 270;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
DEVELOPMENT_TEAM = CS727NF72U;
|
||||
ENABLE_APP_SANDBOX = YES;
|
||||
|
|
@ -439,7 +439,7 @@
|
|||
CODE_SIGNING_ALLOWED = YES;
|
||||
CODE_SIGN_IDENTITY = "Apple Development";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 269;
|
||||
CURRENT_PROJECT_VERSION = 270;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
DEVELOPMENT_TEAM = CS727NF72U;
|
||||
ENABLE_APP_SANDBOX = YES;
|
||||
|
|
|
|||
|
|
@ -449,7 +449,6 @@ extension ContentView {
|
|||
|
||||
func refreshProjectTree() {
|
||||
guard let root = projectRootFolderURL else { return }
|
||||
projectTreeRefreshTask = nil
|
||||
projectTreeRefreshGeneration &+= 1
|
||||
let generation = projectTreeRefreshGeneration
|
||||
DispatchQueue.global(qos: .utility).async {
|
||||
|
|
@ -514,8 +513,7 @@ extension ContentView {
|
|||
ProjectTreeNode(
|
||||
url: url,
|
||||
isDirectory: isDirectory,
|
||||
children: children,
|
||||
isChildrenLoaded: !isDirectory || recursive
|
||||
children: children
|
||||
)
|
||||
)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -115,6 +115,7 @@ struct ContentView: View {
|
|||
@State var showCompactSidebarSheet: Bool = false
|
||||
@State var projectRootFolderURL: URL? = nil
|
||||
@State var projectTreeNodes: [ProjectTreeNode] = []
|
||||
@State var projectTreeRefreshGeneration: Int = 0
|
||||
@State var showProjectFolderPicker: Bool = false
|
||||
@State var projectFolderSecurityURL: URL? = nil
|
||||
@State var pendingCloseTabID: UUID? = nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue