- Add CHANGELOG.md, CODE_OF_CONDUCT.md, and Contribute.md for documentation and community standards - Add tools/add_spdx_header.sh for SPDX license header management - Refactor BookmarksView and BookmarksViewModel to support dependency injection via UseCaseFactory - Add retroactive extension for String: Identifiable in StringExtension.swift - Update MockUseCaseFactory and MockGetBookmarksUseCase to provide mock data for previews and tests - Update README.md: add TestFlight info, changelog link, HTTPS/local network note, and move planned features to changelog
19 lines
396 B
Swift
19 lines
396 B
Swift
import SwiftUI
|
|
|
|
struct StatView: View {
|
|
let title: String
|
|
let value: String
|
|
|
|
var body: some View {
|
|
VStack(spacing: 4) {
|
|
Text(value)
|
|
.font(.headline)
|
|
.fontWeight(.semibold)
|
|
Text(title)
|
|
.font(.caption2)
|
|
.foregroundColor(.secondary)
|
|
}
|
|
.frame(maxWidth: .infinity)
|
|
}
|
|
}
|