|
|
@@ -152,59 +152,59 @@ extension LiveActivitySettings {
|
|
|
}
|
|
|
}
|
|
|
}.listRowBackground(Color.chart)
|
|
|
- }
|
|
|
|
|
|
- Section {
|
|
|
- VStack {
|
|
|
- Picker(
|
|
|
- selection: $state.smartStackView,
|
|
|
- label: Text("Watch Widget Style")
|
|
|
- ) {
|
|
|
- ForEach(LockScreenView.allCases) { selection in
|
|
|
- Text(selection.displayName).tag(selection)
|
|
|
- }
|
|
|
- }.padding(.top)
|
|
|
+ Section {
|
|
|
+ VStack {
|
|
|
+ Picker(
|
|
|
+ selection: $state.smartStackView,
|
|
|
+ label: Text("Watch/Carplay Widget Style")
|
|
|
+ ) {
|
|
|
+ ForEach(LockScreenView.allCases) { selection in
|
|
|
+ Text(selection.displayName).tag(selection)
|
|
|
+ }
|
|
|
+ }.padding(.top)
|
|
|
|
|
|
- HStack(alignment: .center) {
|
|
|
- Text(
|
|
|
- "Select simple or detailed style. See hint for more details."
|
|
|
- )
|
|
|
- .font(.footnote)
|
|
|
- .foregroundColor(.secondary)
|
|
|
- .lineLimit(nil)
|
|
|
- Spacer()
|
|
|
- Button(
|
|
|
- action: {
|
|
|
- hintLabel = String(localized: "Watch Widget Style")
|
|
|
- selectedVerboseHint =
|
|
|
- AnyView(
|
|
|
- VStack(alignment: .leading, spacing: 10) {
|
|
|
- Text("Default: Simple").bold()
|
|
|
- VStack(alignment: .leading, spacing: 10) {
|
|
|
- Text("Simple:").bold()
|
|
|
- Text(
|
|
|
- "Trio's Simple Watch Widget displays current glucose reading, trend arrow, delta and the timestamp of the current reading."
|
|
|
- )
|
|
|
- }
|
|
|
+ HStack(alignment: .center) {
|
|
|
+ Text(
|
|
|
+ "Select simple or detailed style. See hint for more details."
|
|
|
+ )
|
|
|
+ .font(.footnote)
|
|
|
+ .foregroundColor(.secondary)
|
|
|
+ .lineLimit(nil)
|
|
|
+ Spacer()
|
|
|
+ Button(
|
|
|
+ action: {
|
|
|
+ hintLabel = String(localized: "Watch/Carplay Widget Style")
|
|
|
+ selectedVerboseHint =
|
|
|
+ AnyView(
|
|
|
VStack(alignment: .leading, spacing: 10) {
|
|
|
- Text("Detailed:").bold()
|
|
|
- Text(
|
|
|
- "The Detailed Watch Screen Widget offers users a glucose chart as well as the current glucose, delta and the timestamp of current reading."
|
|
|
- )
|
|
|
+ Text("Default: Simple").bold()
|
|
|
+ VStack(alignment: .leading, spacing: 10) {
|
|
|
+ Text("Simple:").bold()
|
|
|
+ Text(
|
|
|
+ "Trio's Simple Watch Widget displays current glucose reading, trend arrow, delta and the timestamp of the current reading."
|
|
|
+ )
|
|
|
+ }
|
|
|
+ VStack(alignment: .leading, spacing: 10) {
|
|
|
+ Text("Detailed:").bold()
|
|
|
+ Text(
|
|
|
+ "The Detailed Watch Screen Widget offers users a glucose chart as well as the current glucose, delta and the timestamp of current reading."
|
|
|
+ )
|
|
|
+ }
|
|
|
}
|
|
|
- }
|
|
|
- )
|
|
|
- shouldDisplayHintSmartStack.toggle()
|
|
|
- },
|
|
|
- label: {
|
|
|
- HStack {
|
|
|
- Image(systemName: "questionmark.circle")
|
|
|
+ )
|
|
|
+ shouldDisplayHintSmartStack.toggle()
|
|
|
+ },
|
|
|
+ label: {
|
|
|
+ HStack {
|
|
|
+ Image(systemName: "questionmark.circle")
|
|
|
+ }
|
|
|
}
|
|
|
- }
|
|
|
- ).buttonStyle(BorderlessButtonStyle())
|
|
|
- }.padding(.top)
|
|
|
- }.padding(.bottom)
|
|
|
- }.listRowBackground(Color.chart)
|
|
|
+ ).buttonStyle(BorderlessButtonStyle())
|
|
|
+ }.padding(.top)
|
|
|
+ }.padding(.bottom)
|
|
|
+ }.listRowBackground(Color.chart)
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
.listSectionSpacing(sectionSpacing)
|