Skip to content

Commit

Permalink
1.0.6
Browse files Browse the repository at this point in the history
- fix filechooser not able to display empty dirs
  • Loading branch information
Osiris-Team committed Jun 22, 2024
1 parent dbc0276 commit fe0ef60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ test {
}

group = 'com.osiris.desku'
version = '1.0.5'
version = '1.0.6'
description = 'Desku'
sourceCompatibility = 1.11
targetCompatibility = 1.11
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/osiris/desku/ui/input/FileChooser.java
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public void setDir(File dir) {
for (File f : files1) {
if (f.isDirectory()) _files.add(f);
}
for (File f : dir.listFiles()) {
for (File f : files1) {
if (f.isFile()) _files.add(f);
}
}
Expand Down

0 comments on commit fe0ef60

Please sign in to comment.