Browse Source

fix glucose text alignment

Ivan Valkou 5 years ago
parent
commit
0ccd51f897
1 changed files with 1 additions and 1 deletions
  1. 1 1
      FreeAPS/Sources/Modules/Home/View/Header/CurrentGlucoseView.swift

+ 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)