forked from organicmaps/organicmaps
[iOS] fixed dark mode for the discovery placeholder and updated guide cover placeholder
This commit is contained in:
parent
4dd3a9c099
commit
f572b2fa79
6 changed files with 18 additions and 2 deletions
|
@ -2,7 +2,18 @@
|
|||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "Illustration.pdf"
|
||||
"filename" : "img_guides_gallery_placeholder.png",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "img_guides_gallery_placeholder@2x.png",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "img_guides_gallery_placeholder@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
|
|
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 6.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
|
@ -15,6 +15,7 @@ final class DiscoveryOnlineTemplateCell: MWMTableViewCell {
|
|||
|
||||
@IBOutlet var containerView: UIView! {
|
||||
didSet {
|
||||
containerView.backgroundColor = UIColor.white()
|
||||
containerView.layer.cornerRadius = 6.0
|
||||
containerView.layer.borderWidth = 1.0
|
||||
containerView.layer.borderColor = UIColor.blackDividers()?.cgColor
|
||||
|
@ -23,7 +24,11 @@ final class DiscoveryOnlineTemplateCell: MWMTableViewCell {
|
|||
@IBOutlet var header: UILabel!
|
||||
@IBOutlet var title: UILabel!
|
||||
@IBOutlet var subtitle: UILabel!
|
||||
@IBOutlet var actionButton: UIButton!
|
||||
@IBOutlet var actionButton: UIButton! {
|
||||
didSet {
|
||||
actionButton.setTitleColor(UIColor.linkBlue(), for: .normal)
|
||||
}
|
||||
}
|
||||
|
||||
typealias Tap = () -> ()
|
||||
private var tap: Tap?
|
||||
|
|
Loading…
Add table
Reference in a new issue