Skip to content

Commit

Permalink
Change asynchronous virtual file refresh to synchronous
Browse files Browse the repository at this point in the history
- Change asynchronous virtual file refresh to synchronous

#13
  • Loading branch information
dohyeon5626 committed Mar 6, 2023
1 parent c4f9644 commit fc334e8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class FileServiceImpl: FileService {
ProjectManager.getInstance().openProjects.forEach {
it.basePath?.also {
findGitKeep(it).forEach {
fileSystem.refreshAndFindFileByIoFile(it)?.refresh(true, false)
fileSystem.refreshAndFindFileByIoFile(it)?.refresh(false, false)
}
}
}
Expand Down Expand Up @@ -85,7 +85,7 @@ class FileServiceImpl: FileService {

private fun refreshFilePath(file: File) {
if (visibleSettingComponent.getVisible())
fileSystem.refreshAndFindFileByIoFile(file)?.refresh(true, false)
fileSystem.refreshAndFindFileByIoFile(file)?.refresh(false, false)
}

}

0 comments on commit fc334e8

Please sign in to comment.