mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 11:21:29 +00:00
Fix missing path separator in folder copy target (#883)
* Fix missing path separator in folder copy target * Update to use direct File constructor
This commit is contained in:
parent
f5a581ccce
commit
9399762ed9
1 changed files with 1 additions and 2 deletions
|
@ -228,9 +228,8 @@ public class ShareActivity extends SyncthingActivity
|
|||
boolean isError = false;
|
||||
for (Map.Entry<Uri, String> entry : mFiles.entrySet()) {
|
||||
InputStream inputStream = null;
|
||||
String outPath = mFolder.path + entry.getValue();
|
||||
try {
|
||||
File outFile = new File(outPath);
|
||||
File outFile = new File(mFolder.path, entry.getValue());
|
||||
if (outFile.isFile()) {
|
||||
mIgnored++;
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue