浏览代码

Fix bug

Signed-off-by: Mario Danic <mario@lovelyhq.com>
Mario Danic 7 年之前
父节点
当前提交
9924bcc50e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java

+ 1 - 1
src/main/java/com/owncloud/android/datamodel/ThumbnailsCacheManager.java

@@ -352,7 +352,7 @@ public class ThumbnailsCacheManager {
                         }
                     }
                 } else {
-                    if (ConnectivityUtils.isAppConnected(MainApp.getAppContext())) {
+                    if (!ConnectivityUtils.isInternetWalled(MainApp.getAppContext())) {
                         previewImageFragment.setErrorPreviewMessage();
                     } else {
                         previewImageFragment.setNoConnectionErrorMessage();