Merge branch 'main' of git.rcmd.space:tiredsysadmin/sizzletracker-android
This commit is contained in:
@@ -113,31 +113,6 @@ struct SetupRow: View {
|
||||
}
|
||||
}
|
||||
|
||||
/// An Android settings section not ported yet: its place in the layout, greyed
|
||||
/// out and marked as coming later.
|
||||
struct ComingLaterRow: View {
|
||||
let title: String
|
||||
let subtitle: String
|
||||
let icon: String
|
||||
|
||||
var body: some View {
|
||||
HStack(spacing: 12) {
|
||||
Image(systemName: icon).font(.system(size: 16)).foregroundColor(Theme.dim).frame(width: 24)
|
||||
VStack(alignment: .leading, spacing: 2) {
|
||||
Text(title).font(.system(size: 15, weight: .medium)).foregroundColor(Theme.dim)
|
||||
Text(subtitle).font(.system(size: 12)).foregroundColor(Theme.dim.opacity(0.75)).lineLimit(2)
|
||||
}
|
||||
Spacer(minLength: 8)
|
||||
Text("Later").font(.system(size: 11)).foregroundColor(Theme.dim)
|
||||
.padding(.horizontal, 8).padding(.vertical, 3)
|
||||
.overlay(Capsule().stroke(Theme.grid, lineWidth: 1))
|
||||
.fixedSize()
|
||||
}
|
||||
.padding(.vertical, 4)
|
||||
.accessibilityElement(children: .combine)
|
||||
.accessibilityHint("Coming in a later version")
|
||||
}
|
||||
}
|
||||
|
||||
/// The Setup tab's modal dialogs. iOS 15 alerts can't hold a text field, so the
|
||||
/// save prompt (and with it every dialog here, for one look) is drawn in SwiftUI.
|
||||
|
||||
Reference in New Issue
Block a user