Skip to content

Commit 0033119

Browse files
committed
resolve TODO
1 parent d1d3929 commit 0033119

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/cryptomator/windows/quickaccess/ExplorerQuickAccessService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public QuickAccessEntry add(Path target, String displayName) throws QuickAccessS
3434
if (target == null) {
3535
throw new IllegalArgumentException("Parameter 'target' must not be null.");
3636
}
37-
var entryName = "Vault - " + displayName;
37+
var entryName = displayName.length() > 40? displayName.substring(0, 40) : displayName; //truncate name
3838
var clsid = "{" + UUID.randomUUID() + "}";
3939
LOG.debug("Creating navigation pane entry with CLSID {}", clsid);
4040
//1. Creates the shell extension and names it

0 commit comments

Comments
 (0)