App now processes 'type' strings, information string will now be trimmed

This commit is contained in:
Deniz Duezgoeren
2019-09-13 13:07:20 +02:00
parent c96644ddc7
commit 8764a2778a
5 changed files with 71 additions and 40 deletions
+1 -5
View File
@@ -78,11 +78,7 @@ class MenuViewController : UICollectionViewController, UICollectionViewDelegateM
cell.content.text = self.items[indexPath.item]
cell.tintView.backgroundColor = #colorLiteral(red: 1.0, green: 1.0, blue: 1.0, alpha: 1.0)
let layer = cell.tintView.layer
layer.cornerRadius = 12.0
layer.shadowColor = UIColor.gray.cgColor
layer.shadowOffset = CGSize(width: 0.0, height: 0.0)
layer.shadowRadius = 1.5
layer.shadowOpacity = 0.7
df.setCardFormatting(for: layer)
return cell
}