Explorar el Código

after selection, default back to correct background color

cyberta hace 3 años
padre
commit
9915a43764
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      deltachat-ios/View/Cell/WebxdcGridCell.swift

+ 1 - 1
deltachat-ios/View/Cell/WebxdcGridCell.swift

@@ -72,7 +72,7 @@ class WebxdcGridCell: UICollectionViewCell {
     override var isSelected: Bool {
         willSet {
             // to provide visual feedback on select events
-            contentView.backgroundColor = newValue ? DcColors.primary : .white
+            contentView.backgroundColor = newValue ? DcColors.primary : DcColors.defaultBackgroundColor
             imageView.alpha = newValue ? 0.75 : 1.0
         }
     }