-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1337 from novasamatech/fix/fix-warnings
Fix warnings
- Loading branch information
Showing
13 changed files
with
187 additions
and
134 deletions.
There are no files selected for viewing
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 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 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 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 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
21 changes: 0 additions & 21 deletions
21
novawallet/Modules/AssetList/View/FlowLayout/AssetListFlowLayout.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
22 changes: 22 additions & 0 deletions
22
novawallet/Modules/AssetList/View/FlowLayout/AssetListMeasurement.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,22 @@ | ||
import UIKit | ||
|
||
enum AssetListMeasurement { | ||
static let accountHeight: CGFloat = 56.0 | ||
static let totalBalanceHeight: CGFloat = 200.0 | ||
static let totalBalanceWithLocksHeight: CGFloat = 200.0 | ||
static let settingsHeight: CGFloat = 56.0 | ||
static let nftsHeight = 56.0 | ||
static let bannerHeight = 102.0 | ||
static let assetHeight: CGFloat = 56.0 | ||
static let assetHeaderHeight: CGFloat = 45.0 | ||
static let emptyStateCellHeight: CGFloat = 230 | ||
static let decorationInset: CGFloat = 8.0 | ||
static let promotionInsets = UIEdgeInsets(top: 0, left: 0, bottom: 12, right: 0) | ||
static let summaryInsets = UIEdgeInsets(top: 0, left: 0, bottom: 12, right: 0) | ||
static let nftsInsets = UIEdgeInsets(top: 0, left: 0, bottom: 12, right: 0) | ||
static let settingsInsets = UIEdgeInsets.zero | ||
static let assetGroupInsets = UIEdgeInsets(top: 2.0, left: 0, bottom: 16.0, right: 0) | ||
|
||
static let underneathViewHeight: CGFloat = 4 | ||
static let decorationContentInset: CGFloat = 4 | ||
} |
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 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 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 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
Oops, something went wrong.