浏览代码

remove unused variable

cyberta 5 年之前
父节点
当前提交
92d002c129
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      deltachat-ios/MessageKit/Views/Cells/FileMessageCell.swift

+ 1 - 2
deltachat-ios/MessageKit/Views/Cells/FileMessageCell.swift

@@ -7,6 +7,7 @@ open class FileMessageCell: MessageContentCell {
     public static let insetHorizontalBig: CGFloat = 23
     public static let insetHorizontalSmall: CGFloat = 12
 
+    // MARK: - Properties
     var fileViewLeadingPadding: CGFloat = 0 {
         didSet {
             fileViewLeadingAlignment.constant = fileViewLeadingPadding
@@ -17,9 +18,7 @@ open class FileMessageCell: MessageContentCell {
         return fileView.constraintAlignLeadingTo(messageContainerView, paddingLeading: 0)
     }()
 
-    private var mediaItem: MediaItem?
 
-    // MARK: - Properties
     /// The `MessageCellDelegate` for the cell.
     open override weak var delegate: MessageCellDelegate? {
         didSet {