Skip to content

Commit 4e3bfe6

Browse files
committed
New solid icons.
1 parent 2671c03 commit 4e3bfe6

File tree

55 files changed

+13
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+13
-2
lines changed

Adamant/Assets/Assets.xcassets/Placeholders/avatar-chat-placeholder.imageset/Contents.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,8 @@
1919
"info" : {
2020
"version" : 1,
2121
"author" : "xcode"
22+
},
23+
"properties" : {
24+
"template-rendering-intent" : "template"
2225
}
2326
}

Adamant/Helpers/UIColor+adamant.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ extension UIColor {
2020
/// Chat icons color, ~40% gray
2121
static let adamantChatIcons = UIColor(red: 0.62, green: 0.62, blue: 0.62, alpha: 1)
2222

23+
/// Table row icons color, ~45% gray
24+
static let adamantTableRowIcons = UIColor(red: 0.55, green: 0.55, blue: 0.55, alpha: 1)
25+
2326

2427
// MARK: Chat colors
2528

Adamant/Stories/Account/AccountViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ class AccountViewController: FormViewController {
328328
})
329329

330330

331-
form.allRows.forEach { $0.baseCell.imageView?.tintColor = UIColor.adamantPrimary; }
331+
form.allRows.forEach { $0.baseCell.imageView?.tintColor = UIColor.adamantTableRowIcons }
332332

333333
accountHeaderView.walletCollectionView.selectItem(at: IndexPath(row: 0, section: 0), animated: false, scrollPosition: .centeredHorizontally)
334334

Adamant/Stories/Delegates/DelegateDetailsViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ extension DelegateDetailsViewController {
210210
cell.textLabel?.text = row.localized
211211
cell.accessoryType = .none
212212
cell.imageView?.image = row.image
213+
cell.imageView?.tintColor = UIColor.adamantTableRowIcons
213214

214215
switch row {
215216
case .username:

Adamant/Stories/Settings/AboutViewController.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ class AboutViewController: FormViewController {
194194
$0.title = Rows.adm.localized
195195
$0.tag = Rows.adm.tag
196196
$0.cell.imageView?.image = Rows.adm.image
197+
$0.cell.imageView?.tintColor = UIColor.adamantTableRowIcons
197198
$0.cell.selectionStyle = .gray
198199
}.cellUpdate { (cell, _) in
199200
cell.accessoryType = .disclosureIndicator
@@ -244,6 +245,7 @@ class AboutViewController: FormViewController {
244245
$0.value = AdamantResources.supportEmail
245246
$0.tag = Rows.email.tag
246247
$0.cell.imageView?.image = Rows.email.image
248+
$0.cell.imageView?.tintColor = UIColor.adamantTableRowIcons
247249
$0.cell.selectionStyle = .gray
248250
}.cellUpdate { (cell, _) in
249251
cell.accessoryType = .disclosureIndicator
@@ -318,7 +320,7 @@ extension AboutViewController {
318320
$0.title = title
319321
$0.value = value
320322
$0.cell.imageView?.image = image
321-
$0.cell.imageView?.contentMode = UIViewContentMode.center
323+
$0.cell.imageView?.tintColor = UIColor.adamantTableRowIcons
322324
$0.cell.selectionStyle = .gray
323325
}.cellUpdate { (cell, _) in
324326
cell.accessoryType = .disclosureIndicator

Adamant/Stories/Settings/SecurityViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ class SecurityViewController: FormViewController {
228228
$0.tag = Rows.github.tag
229229
$0.title = Rows.github.localized
230230
$0.cell.imageView?.image = #imageLiteral(resourceName: "row_github")
231+
$0.cell.imageView?.tintColor = UIColor.adamantTableRowIcons
231232
}.cellSetup { (cell, _) in
232233
cell.selectionStyle = .gray
233234
}.cellUpdate({ (cell, _) in

Adamant/Stories/Transactions/TransactionDetailsViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ extension TransactionDetailsViewController {
271271

272272
cell.textLabel?.text = row.localized
273273
cell.imageView?.image = row.image
274+
cell.imageView?.tintColor = UIColor.adamantTableRowIcons
274275

275276
switch row {
276277
case .amount:

0 commit comments

Comments
 (0)