-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'add_gradient_all_colors' into r4.8-pre
- Loading branch information
Showing
20 changed files
with
939 additions
and
525 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
Sources/Controllers/Cells/OATwoIconsButtonTableViewCell.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// | ||
// OATwoIconsButtonTableViewCell.swift | ||
// OsmAnd Maps | ||
// | ||
// Created by Dmitry Svetlichny on 05.08.2024. | ||
// Copyright © 2024 OsmAnd. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
@objcMembers | ||
final class OATwoIconsButtonTableViewCell: OAButtonTableViewCell { | ||
|
||
@IBOutlet weak var secondLeftIconView: UIImageView! | ||
|
||
func secondLeftIconVisibility(show: Bool) { | ||
secondLeftIconView.isHidden = !show | ||
updateMargins() | ||
} | ||
|
||
func shouldUpdateMarginsForVisibleSecondLeftIcon() -> Bool { | ||
!secondLeftIconView.isHidden | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.