Skip to content

Commit

Permalink
fix(android/watcher): wrong relpath calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Jan 12, 2024
1 parent 333c9a9 commit 4ad7a57
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion android/app/src/main/java/com/logseq/app/FsWatcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ public void onObserverEvent(int event, String path, SimpleFileMetadata metadata)
if (relpath.startsWith("/")) {
relpath = relpath.substring(1);
}
relpath = Uri.decode(relpath);
} else {
Log.e("FsWatcher", "file path not under watch path");
return;
Expand Down

0 comments on commit 4ad7a57

Please sign in to comment.