mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-18 21:35:21 +01:00
Update CompactPriceView.swift
This commit is contained in:
parent
41f8a22a21
commit
c5ff1dd4a4
@ -26,7 +26,7 @@ struct CompactPriceView: View {
|
||||
Text(dataSource)
|
||||
}
|
||||
.font(.subheadline)
|
||||
.foregroundColor(.secondary)
|
||||
.foregroundColor(secondaryTextColor)
|
||||
.multilineTextAlignment(.center)
|
||||
.accessibilityElement(children: .combine)
|
||||
}
|
||||
@ -38,4 +38,9 @@ struct CompactPriceView: View {
|
||||
var priceTextColor: Color {
|
||||
colorScheme == .dark ? .cyan : .blue
|
||||
}
|
||||
}
|
||||
|
||||
// Improved secondary text color for better readability
|
||||
var secondaryTextColor: Color {
|
||||
colorScheme == .dark ? .white : .black
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user