fix lint
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
b7e96ad0a7
commit
db5cf44b6c
@ -194,7 +194,7 @@ class MediaFoldersDetectionWork constructor(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// only send notification when synced folder is setup, gplay flavor and not branded client
|
// only send notification when synced folder is setup, gplay flavor and not branded client
|
||||||
@Suppress("ComplexMethod")
|
@Suppress("ComplexMethod", "ComplexCondition")
|
||||||
if (syncedFolderProvider.syncedFolders.isNotEmpty() &&
|
if (syncedFolderProvider.syncedFolders.isNotEmpty() &&
|
||||||
BuildHelper.isFlavourGPlay() &&
|
BuildHelper.isFlavourGPlay() &&
|
||||||
!preferences.isAutoUploadGPlayNotificationShown &&
|
!preferences.isAutoUploadGPlayNotificationShown &&
|
||||||
|
@ -30,7 +30,7 @@ class GetSharesForFileOperation(
|
|||||||
storageManager: FileDataStorageManager
|
storageManager: FileDataStorageManager
|
||||||
) : SyncOperation(storageManager) {
|
) : SyncOperation(storageManager) {
|
||||||
|
|
||||||
@Suppress("DEPRECATION")
|
@Suppress("DEPRECATION", "NestedBlockDepth")
|
||||||
@Deprecated("Deprecated in Java")
|
@Deprecated("Deprecated in Java")
|
||||||
override fun run(client: OwnCloudClient): RemoteOperationResult<List<OCShare>> {
|
override fun run(client: OwnCloudClient): RemoteOperationResult<List<OCShare>> {
|
||||||
val result = GetSharesForFileRemoteOperation(path, reshares, subfiles).execute(client)
|
val result = GetSharesForFileRemoteOperation(path, reshares, subfiles).execute(client)
|
||||||
|
@ -49,7 +49,7 @@ import javax.inject.Inject
|
|||||||
* configuration at one time.
|
* configuration at one time.
|
||||||
* 2. This will handle both Advanced Permissions and Send New Email functionality for existing shares to modify them.
|
* 2. This will handle both Advanced Permissions and Send New Email functionality for existing shares to modify them.
|
||||||
*/
|
*/
|
||||||
@Suppress("TooManyFunctions")
|
@Suppress("TooManyFunctions", "LargeClass")
|
||||||
class FileDetailsSharingProcessFragment :
|
class FileDetailsSharingProcessFragment :
|
||||||
Fragment(),
|
Fragment(),
|
||||||
Injectable,
|
Injectable,
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
<!--
|
|
||||||
~ Nextcloud - Android Client
|
|
||||||
~
|
|
||||||
~ SPDX-FileCopyrightText: 2018-2024 Google LLC
|
|
||||||
~ SPDX-License-Identifier: Apache-2.0
|
|
||||||
-->
|
|
||||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:width="24dp"
|
|
||||||
android:height="24dp"
|
|
||||||
android:viewportWidth="24"
|
|
||||||
android:viewportHeight="24"
|
|
||||||
android:tint="?attr/colorControlNormal">
|
|
||||||
<path
|
|
||||||
android:fillColor="@android:color/white"
|
|
||||||
android:pathData="M9,16.17L4.83,12l-1.42,1.41L9,19 21,7l-1.41,-1.41z"/>
|
|
||||||
</vector>
|
|
Loading…
x
Reference in New Issue
Block a user