Selaa lähdekoodia

after selection, default back to correct background color

cyberta 3 vuotta sitten
vanhempi
commit
9915a43764
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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
         }
     }