macOS widgets
This commit is contained in:
parent
e5400cec81
commit
eccf21f4b1
|
|
@ -353,14 +353,15 @@ struct DashboardWidgetEntryView : View {
|
||||||
Text(entry.configuration.dashboardField?.displayString ?? "")
|
Text(entry.configuration.dashboardField?.displayString ?? "")
|
||||||
.font(.body)
|
.font(.body)
|
||||||
.bold()
|
.bold()
|
||||||
.lineLimit(2)
|
.lineLimit(1)
|
||||||
.multilineTextAlignment(.center)
|
.multilineTextAlignment(.center)
|
||||||
.foregroundColor(accentColor)
|
.foregroundColor(accentColor)
|
||||||
Text(entry.value)
|
Text(entry.value)
|
||||||
.font(.title)
|
.font(.title)
|
||||||
.privacySensitive()
|
.privacySensitive()
|
||||||
.lineLimit(2)
|
.lineLimit(1)
|
||||||
.minimumScaleFactor(0.8)
|
.allowsTightening(true)
|
||||||
|
.minimumScaleFactor(0.5)
|
||||||
}
|
}
|
||||||
.padding(.all)
|
.padding(.all)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue