mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 05:05:31 +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