Skip to content

Commit 588403b

Browse files
committed
add log
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
1 parent 6fd946d commit 588403b

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

app/src/main/java/com/owncloud/android/ui/adapter/OCFileListDelegate.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,10 +355,15 @@ class OCFileListDelegate(
355355
val icon = when {
356356
isSyncing -> R.drawable.ic_synchronizing
357357
hasConflict -> R.drawable.ic_synchronizing_error
358-
isDown || isFolderDown -> R.drawable.ic_synced
358+
isDown || isFolderDown -> {
359+
Log_OC.d("DOWN_INDICATOR", "isFolderDown : $isFolderDown")
360+
Log_OC.d("DOWN_INDICATOR", "storage path: ${file.storagePath}")
361+
R.drawable.ic_synced
362+
}
359363
else -> null
360364
}
361365

366+
362367
holder.localFileIndicator.run {
363368
if (icon != null && showMetadata) {
364369
setImageResource(icon)

0 commit comments

Comments
 (0)