mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-22 14:13:45 +00:00
Rebranded the app for iOS
This commit is contained in:
committed by
Konstantin Pastbin
parent
51b669cfd1
commit
d4e1d53c40
@@ -0,0 +1,17 @@
|
||||
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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user