Skip to content

Commit

Permalink
Min scale factor for widget
Browse files Browse the repository at this point in the history
  • Loading branch information
fassko committed Oct 31, 2020
1 parent 716be5b commit 3444f9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MeteoLVWidget/MeteoLVWidget.swift
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ struct MeteoLVWidgetEntryView: View {
GroupBox(label: Text(observationStation.name), content: {
VStack(spacing: 10) {
Label(observationStation.temperatureWithUnits, systemImage: "thermometer")
.minimumScaleFactor(0.5)
Label(observationStation.wind!, systemImage: "wind")
.minimumScaleFactor(0.5)
}.padding(.vertical, 5)
})
} else {
Expand Down

0 comments on commit 3444f9c

Please sign in to comment.