mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 16:06:08 +00:00
Fix to KtLint report
This commit is contained in:
parent
e6f3fd2e16
commit
2458db1828
@ -54,9 +54,8 @@ class CheckPathExistenceRemoteOperation(
|
|||||||
) : RemoteOperation<Boolean>() {
|
) : RemoteOperation<Boolean>() {
|
||||||
|
|
||||||
override fun run(client: OwnCloudClient): RemoteOperationResult<Boolean> {
|
override fun run(client: OwnCloudClient): RemoteOperationResult<Boolean> {
|
||||||
val baseStringUrl = spaceWebDavUrl ?:
|
val baseStringUrl = spaceWebDavUrl ?: if (isUserLoggedIn) client.baseFilesWebDavUri.toString()
|
||||||
if (isUserLoggedIn) client.baseFilesWebDavUri.toString()
|
else client.userFilesWebDavUri.toString()
|
||||||
else client.userFilesWebDavUri.toString()
|
|
||||||
val stringUrl = baseStringUrl + WebdavUtils.encodePath(remotePath)
|
val stringUrl = baseStringUrl + WebdavUtils.encodePath(remotePath)
|
||||||
|
|
||||||
return try {
|
return try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user