mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 21:55:48 +03:00
Removed text notification about first instant upload only on line - not necessary any more
This commit is contained in:
parent
9ad30bdded
commit
5b9935c849
1 changed files with 0 additions and 9 deletions
|
@ -655,15 +655,6 @@ public class FileUploader extends Service implements OnDatatransferProgressListe
|
|||
String parentPath = new File(remotePath).getParent();
|
||||
parentPath = parentPath.endsWith(OCFile.PATH_SEPARATOR) ? parentPath : parentPath + OCFile.PATH_SEPARATOR;
|
||||
OCFile parentDir = storageManager.getFileByPath(parentPath);
|
||||
if (parentDir == null) {
|
||||
Toast t = Toast
|
||||
.makeText(
|
||||
getApplicationContext(),
|
||||
"The first time the InstantUpload is running you must be online, so the target folder can successfully created by the upload process",
|
||||
30);
|
||||
t.show();
|
||||
return null;
|
||||
}
|
||||
long parentDirId = parentDir.getFileId();
|
||||
newFile.setParentId(parentDirId);
|
||||
return newFile;
|
||||
|
|
Loading…
Reference in a new issue