mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-24 23:13:47 +00:00
To expand with full Organic Maps and Maps.ME commits history run: git remote add om-historic [om-historic.git repo url] git fetch --tags om-historic git replace squashed-history historic-commits
18 lines
328 B
Swift
18 lines
328 B
Swift
import SwiftUI
|
|
|
|
struct StatisticValueView: View {
|
|
private let value: String
|
|
|
|
init(_ value: String) {
|
|
self.value = value
|
|
}
|
|
|
|
var body: some View {
|
|
Text(value)
|
|
.contentTransition(.numericText())
|
|
.minimumScaleFactor(0.1)
|
|
.font(.title3.bold().monospacedDigit())
|
|
.foregroundStyle(.white)
|
|
}
|
|
}
|