Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
address review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
nuo-xu committed Apr 21, 2023
1 parent eb5ed03 commit a2ebaff
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ struct AssetDetailView: View {
let computed = assetDetailStore.currencyFormatter.string(from: NSNumber(value: BraveWallet.CoinMarket.abbreviateToBillion(input: coinMarket.totalVolume))) ?? ""
Text("\(computed)B")
.font(.title3.weight(.semibold))
Text(Strings.Wallet.coinMarket24HVolumn)
Text(Strings.Wallet.coinMarket24HVolume)
.font(.footnote)
}
Spacer()
Expand Down
4 changes: 2 additions & 2 deletions Sources/BraveWallet/Crypto/Market/MarketView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ struct MarketView: View {
ForEach(0...10, id: \.self) { _ in
HStack {
if sizeCategory.isAccessibilityCategory {
VStack(spacing: 8) {
VStack(alignment: .leading, spacing: 8) {
loadingTokenPlaceholder
}
} else {
Expand All @@ -116,7 +116,7 @@ struct MarketView: View {
List {
Section {
Group {
if marketStore.isLoading {
if marketStore.isLoading && marketStore.coins.isEmpty {
loadingView
} else if marketStore.coins.isEmpty {
emptyState
Expand Down
8 changes: 4 additions & 4 deletions Sources/BraveWallet/WalletStrings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3960,12 +3960,12 @@ extension Strings {
value: "Rank",
comment: "The title of the rank of this coin from market."
)
public static let coinMarket24HVolumn = NSLocalizedString(
"wallet.coinMarket24HVolumn",
public static let coinMarket24HVolume = NSLocalizedString(
"wallet.coinMarket24HVolume",
tableName: "BraveWallet",
bundle: .module,
value: "24h Volumn",
comment: "The title of the 24h volumn of this coin from market."
value: "24h Volume",
comment: "The title of the 24h volume of this coin from market."
)
public static let coinMarketMarketCap = NSLocalizedString(
"wallet.coinMarketMarketCap",
Expand Down

0 comments on commit a2ebaff

Please sign in to comment.