Skip to content

Commit ad155a6

Browse files
orzomaxxGrimler91
authored andcommitted
Remove replacement of '-' to ' ' in file names
Label 'tasks/start services.sh' looks ugly, 'tasks/start-services.sh' looks much better If I want 'tasks/start services.sh' i will create file named like that
1 parent 750f981 commit ad155a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/termux/widget/TermuxWidgetService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public static final class TermuxWidgetItem {
5555

5656
public TermuxWidgetItem(File file, int depth) {
5757
this.mLabel = (depth > 0 ? (file.getParentFile().getName() + "/") : "")
58-
+ file.getName().replace('-', ' ');
58+
+ file.getName();
5959
this.mFile = file.getAbsolutePath();
6060
}
6161

0 commit comments

Comments
 (0)