소스 검색

do not use preview, but directly show placeholder

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 4 년 전
부모
커밋
3972ddf98c
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/androidTest/java/com/owncloud/android/ui/fragment/OCFileListFragmentStaticServerIT.kt

+ 1 - 2
src/androidTest/java/com/owncloud/android/ui/fragment/OCFileListFragmentStaticServerIT.kt

@@ -54,7 +54,7 @@ class OCFileListFragmentStaticServerIT : AbstractIT() {
 
         val imageFile = OCFile("/image.png", "00000002")
         imageFile.mimeType = "image/png"
-        imageFile.isPreviewAvailable = true
+        imageFile.isPreviewAvailable = false
         imageFile.fileLength = 3072000
         imageFile.modificationTimestamp = 746443755000
         imageFile.parentId = sut.storageManager.getFileByEncryptedRemotePath("/").fileId
@@ -70,7 +70,6 @@ class OCFileListFragmentStaticServerIT : AbstractIT() {
         sut.runOnUiThread { fragment.listDirectory(root, false, false) }
 
         waitForIdleSync()
-        longSleep()
 
         Screenshot.snapActivity(sut).record()
     }