Browse Source

Fix detekt

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
Álvaro Brey Vilas 3 years ago
parent
commit
56584c06e6

+ 1 - 0
app/src/main/java/com/nextcloud/client/jobs/NotificationWork.kt

@@ -70,6 +70,7 @@ import java.security.SecureRandom
 import javax.crypto.Cipher
 import javax.inject.Inject
 
+@Suppress("LongParameterList")
 class NotificationWork constructor(
     private val context: Context,
     params: WorkerParameters,

+ 1 - 0
app/src/main/java/com/owncloud/android/ui/adapter/GalleryAdapter.kt

@@ -49,6 +49,7 @@ import com.simplecityapps.recyclerview_fastscroll.views.FastScrollRecyclerView.S
 import java.util.Calendar
 import java.util.Date
 
+@Suppress("LongParameterList")
 class GalleryAdapter(
     val context: Context,
     user: User,

+ 1 - 0
app/src/main/java/com/owncloud/android/ui/adapter/UnifiedSearchListAdapter.kt

@@ -46,6 +46,7 @@ import com.owncloud.android.utils.theme.ThemeDrawableUtils
 /**
  * This Adapter populates a SectionedRecyclerView with search results by unified search
  */
+@Suppress("LongParameterList")
 class UnifiedSearchListAdapter(
     private val storageManager: FileDataStorageManager,
     private val listInterface: UnifiedSearchListInterface,