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