浏览代码

Merge branch 'async_thumbnails' of github.com:deltachat/deltachat-ios into async_thumbnails

nayooti 5 年之前
父节点
当前提交
39e713bbfa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      deltachat-ios/MessageKit/Layout/MediaMessageSizeCalculator.swift

+ 1 - 1
deltachat-ios/MessageKit/Layout/MediaMessageSizeCalculator.swift

@@ -55,7 +55,7 @@ open class MediaMessageSizeCalculator: MessageSizeCalculator {
             return sizeForMediaItem(maxWidth, item)
         case .video(let item):
             if item.image == nil {
-                // no cached thumbnail -> is generated asynchronously
+                // no cached thumbnail -> set default size
                 return CGSize(width: maxWidth, height: maxWidth)
             } else {
                 return sizeForMediaItem(maxWidth, item)