mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 13:15:35 +03:00
use MainApp.getStoragePath()
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
f90daae868
commit
a258734da9
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ class InternalTwoWaySyncWork(
|
|||
|
||||
@Suppress("TooGenericExceptionCaught")
|
||||
private fun checkFreeSpace(folder: OCFile): Result? {
|
||||
val storagePath = folder.storagePath ?: return null
|
||||
val storagePath = folder.storagePath ?: MainApp.getStoragePath()
|
||||
val file = File(storagePath)
|
||||
|
||||
if (!file.exists()) return null
|
||||
|
|
Loading…
Reference in a new issue