Skip to content

Commit

Permalink
Update FileTreeView.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtsphereOfficial authored Aug 4, 2024
1 parent d66e2de commit 110f182
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class FileTreeView : RecyclerView {
}

fun initializeFileTree(path: String) {
initializeFileTree(path, null,null)
initializeFileTree(path, null, null)
}

fun initializeFileTree(path: String, fileTreeEventListener: FileTreeEventListener?){
Expand All @@ -45,7 +45,7 @@ class FileTreeView : RecyclerView {
FileTreeAdapter(context, fileTree!!)
} else {
if (fileTreeIconProvider != null) {
FileTreeAdapter(context, fileTree!!,fileTreeIconProvider, fileTreeEventListener)
FileTreeAdapter(context, fileTree!!, fileTreeIconProvider, fileTreeEventListener)
}else{
FileTreeAdapter(context, fileTree!!, fileTreeEventListener)
}
Expand Down

0 comments on commit 110f182

Please sign in to comment.