Browse Source

Merge pull request #774 from nextcloud/fix-instant-upload-video

Fix video upload path
Andy Scherzinger 8 năm trước cách đây
mục cha
commit
0313183ea5

+ 1 - 1
src/main/java/com/owncloud/android/utils/FileStorageUtils.java

@@ -200,7 +200,7 @@ public class FileStorageUtils {
         if (com.owncloud.android.db.PreferenceManager.instantVideoUploadPathUseSubfolders(context)) {
             subPath = getSubpathFromDate(dateTaken);
         }
-        return uploadVideoPath + subPath + (fileName == null ? "" : fileName);
+        return uploadVideoPath + OCFile.PATH_SEPARATOR + subPath + (fileName == null ? "" : fileName);
     }
     
     public static String getParentPath(String remotePath) {