From 864c58d52ece4819a54e3c1cf97e9659e200003c Mon Sep 17 00:00:00 2001 From: alperozturk Date: Fri, 30 Aug 2024 09:09:47 +0200 Subject: [PATCH] apply KT Spotless Signed-off-by: alperozturk --- .../repository/OfflineOperationsRepository.kt | 4 +++- .../java/com/nextcloud/utils/extensions/ActivityExtensions.kt | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/nextcloud/client/jobs/offlineOperations/repository/OfflineOperationsRepository.kt b/app/src/main/java/com/nextcloud/client/jobs/offlineOperations/repository/OfflineOperationsRepository.kt index 05af5c3e1e84..fbf4de9631d0 100644 --- a/app/src/main/java/com/nextcloud/client/jobs/offlineOperations/repository/OfflineOperationsRepository.kt +++ b/app/src/main/java/com/nextcloud/client/jobs/offlineOperations/repository/OfflineOperationsRepository.kt @@ -78,7 +78,9 @@ class OfflineOperationsRepository( parentPath = newParentPath path = newPath } - } else null + } else { + null + } } } } diff --git a/app/src/main/java/com/nextcloud/utils/extensions/ActivityExtensions.kt b/app/src/main/java/com/nextcloud/utils/extensions/ActivityExtensions.kt index 4f49db288c37..0bdbbbd0cb33 100644 --- a/app/src/main/java/com/nextcloud/utils/extensions/ActivityExtensions.kt +++ b/app/src/main/java/com/nextcloud/utils/extensions/ActivityExtensions.kt @@ -7,7 +7,6 @@ package com.nextcloud.utils.extensions -import android.app.Activity import androidx.appcompat.app.AppCompatActivity import androidx.fragment.app.Fragment