Przeglądaj źródła

fix glucose text alignment

Ivan Valkou 5 lat temu
rodzic
commit
0ccd51f897

+ 1 - 1
FreeAPS/Sources/Modules/Home/View/Header/CurrentGlucoseView.swift

@@ -45,7 +45,7 @@ struct CurrentGlucoseView: View {
                 image.padding(.bottom, 2)
 
             }.padding(.leading, 4)
-            HStack(spacing: 2) {
+            HStack(alignment: .lastTextBaseline, spacing: 2) {
                 Text(
                     recentGlucose.map { dateFormatter.string(from: $0.dateString) } ?? "--"
                 ).font(.caption2).foregroundColor(.secondary)