diff --git a/Cartfile.resolved b/Cartfile.resolved index 5cdfa11f..a7663d92 100644 --- a/Cartfile.resolved +++ b/Cartfile.resolved @@ -2,7 +2,7 @@ binary "https://icepa.github.io/Tor.framework/Tor.json" "305.8.1" github "HamzaGhazouani/HGPlaceholders" "0.4.0" github "JohnEstropia/CoreStore" "6.3.2" github "SwiftyJSON/SwiftyJSON" "5.0.0" -github "Swinject/Swinject" "2.6.2" +github "Swinject/Swinject" "2.7.1" github "Swinject/SwinjectStoryboard" "2.2.0" github "danielgindi/Charts" "v3.3.0" github "evgenyneu/keychain-swift" "11.0.0" diff --git a/VergeiOS/Assets.xcassets/Themes/Feather/UnlockBackground.imageset/unlock.pdf b/VergeiOS/Assets.xcassets/Themes/Feather/UnlockBackground.imageset/unlock.pdf index e7e38f7d..60a755b8 100644 Binary files a/VergeiOS/Assets.xcassets/Themes/Feather/UnlockBackground.imageset/unlock.pdf and b/VergeiOS/Assets.xcassets/Themes/Feather/UnlockBackground.imageset/unlock.pdf differ diff --git a/VergeiOS/Assets.xcassets/Themes/Mars/UnlockBackgroundMarsMode.imageset/UnlockBackgroundMarsMode.pdf b/VergeiOS/Assets.xcassets/Themes/Mars/UnlockBackgroundMarsMode.imageset/UnlockBackgroundMarsMode.pdf index fe60ddac..106d1940 100644 Binary files a/VergeiOS/Assets.xcassets/Themes/Mars/UnlockBackgroundMarsMode.imageset/UnlockBackgroundMarsMode.pdf and b/VergeiOS/Assets.xcassets/Themes/Mars/UnlockBackgroundMarsMode.imageset/UnlockBackgroundMarsMode.pdf differ diff --git a/VergeiOS/Assets.xcassets/Themes/Moon/UnlockBackgroundMoonMode.imageset/unlock.pdf b/VergeiOS/Assets.xcassets/Themes/Moon/UnlockBackgroundMoonMode.imageset/unlock.pdf index 3fe3bf06..64b21f09 100644 Binary files a/VergeiOS/Assets.xcassets/Themes/Moon/UnlockBackgroundMoonMode.imageset/unlock.pdf and b/VergeiOS/Assets.xcassets/Themes/Moon/UnlockBackgroundMoonMode.imageset/unlock.pdf differ diff --git a/VergeiOS/Components/NavigationBars/TransparantNavigationBar.swift b/VergeiOS/Components/NavigationBars/TransparantNavigationBar.swift index afd5e9a8..e9138808 100644 --- a/VergeiOS/Components/NavigationBars/TransparantNavigationBar.swift +++ b/VergeiOS/Components/NavigationBars/TransparantNavigationBar.swift @@ -30,10 +30,6 @@ class TransparantNavigationBar: UINavigationBar { // An empty implementation adversely affects performance during animation. override func draw(_ rect: CGRect) { super.draw(rect) - - let font = UIFont.avenir(size: 19).medium() - - self.titleTextAttributes = [kCTFontAttributeName: font] as [NSAttributedString.Key: Any] } } diff --git a/VergeiOS/Components/TableCellViews/TransactionTableViewCell.swift b/VergeiOS/Components/TableCellViews/TransactionTableViewCell.swift index c9a4d0fe..15a32445 100644 --- a/VergeiOS/Components/TableCellViews/TransactionTableViewCell.swift +++ b/VergeiOS/Components/TableCellViews/TransactionTableViewCell.swift @@ -11,12 +11,19 @@ import Eureka class TransactionTableViewCell: Cell, CellType { - @IBOutlet weak var amountLabel: UILabel! + let amountLabel: UILabel = UILabel() override func setup() {} override func update() {} + override func awakeFromNib() { + super.awakeFromNib() + + amountLabel.font = UIFont.avenir(size: 14).demiBold() + accessoryView = amountLabel + } + func setTransaction(_ transaction: TxHistory, address: Contact?) { setAccount(transaction, address: address) setDateTime(transaction) @@ -88,6 +95,7 @@ class TransactionTableViewCell: Cell, CellType { } amountLabel.text = "\(prefix) \(transaction.amountValue.toXvgCurrency())" + amountLabel.sizeToFit() } } diff --git a/VergeiOS/Components/TableCellViews/TransactionTableViewCell.xib b/VergeiOS/Components/TableCellViews/TransactionTableViewCell.xib index 79739aea..fe6e377b 100644 --- a/VergeiOS/Components/TableCellViews/TransactionTableViewCell.xib +++ b/VergeiOS/Components/TableCellViews/TransactionTableViewCell.xib @@ -1,11 +1,9 @@ - - - - + + - + @@ -14,50 +12,40 @@ - + - + - - - - - + - + diff --git a/VergeiOS/Info.plist b/VergeiOS/Info.plist index 5c1cfa76..79b7a4f9 100644 --- a/VergeiOS/Info.plist +++ b/VergeiOS/Info.plist @@ -149,6 +149,8 @@ UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight + UIUserInterfaceStyle + Light UIViewControllerBasedStatusBarAppearance