Skip to content

Commit 277fd6d

Browse files
zerox80guruz
authored andcommitted
Fix: Remove unused isProbablyAnImage function (Detekt UnusedPrivateMember)
1 parent e7379f3 commit 277fd6d

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

opencloudApp/src/main/java/eu/opencloud/android/presentation/thumbnails/ThumbnailsRequester.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,5 @@ object ThumbnailsRequester : KoinComponent {
174174
return response
175175
}
176176

177-
private fun isProbablyAnImage(response: Response): Boolean {
178-
val contentType = response.header("Content-Type")
179-
return contentType.isNullOrEmpty() || contentType.startsWith("image")
180-
}
181177
}
182178
}

0 commit comments

Comments
 (0)