mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 11:21:29 +00:00
Fixed wrong xml tag being used.
This commit is contained in:
parent
04dc0c92ff
commit
6fe20213e5
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ public class ConfigXml {
|
|||
}
|
||||
|
||||
// Replace /sdcard/ in folder path with proper path.
|
||||
String dir = r.getAttribute("directory");
|
||||
String dir = r.getAttribute("path");
|
||||
if (dir.startsWith("/sdcard")) {
|
||||
String newDir = dir.replace("/sdcard",
|
||||
Environment.getExternalStorageDirectory().getAbsolutePath());
|
||||
|
|
Loading…
Reference in a new issue