mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-04-19 09:06:54 -04:00
use Path api to concat (string) paths for events
Signed-off-by: Armin Schrenk <armin.schrenk@skymatic.de>
This commit is contained in:
@@ -262,8 +262,8 @@ public class EventListCellController implements FxController {
|
||||
return Path.of(System.getProperty("user.home"));
|
||||
}
|
||||
|
||||
var mountUri = v.getMountPoint().uri();
|
||||
return Path.of(mountUri.getPath().concat(vaultInternalPath.substring(1)).substring(1));
|
||||
var mountPoint = v.getMountPoint().uri().getPath().substring(1);
|
||||
return Path.of(mountPoint, vaultInternalPath.substring(1)); //vaultPaths are always absolute
|
||||
}
|
||||
|
||||
private void reveal(RevealPathService s, Path p) {
|
||||
|
||||
Reference in New Issue
Block a user