소스 검색

Last loop time size and text adjustment

Deniz Cengiz 1 년 전
부모
커밋
555e4de6e5
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 2
      Trio Watch App Extension/Views/GlucoseTrendView.swift
  2. 1 1
      Trio/Sources/Services/WatchManager/AppleWatchManager.swift

+ 2 - 2
Trio Watch App Extension/Views/GlucoseTrendView.swift

@@ -38,9 +38,9 @@ struct GlucoseTrendView: View {
                 }
                 }
             }
             }
 
 
-            Spacer()
+//            Spacer()
 
 
-            Text(state.lastLoopTime ?? "--").font(is40mm ? .footnote : .caption)
+            Text(state.lastLoopTime ?? "--").font(.system(size: is40mm ? 9 : 10))
 
 
             Spacer()
             Spacer()
 
 

+ 1 - 1
Trio/Sources/Services/WatchManager/AppleWatchManager.swift

@@ -152,7 +152,7 @@ final class BaseWatchManager: NSObject, WCSessionDelegate, Injectable, WatchMana
             if lastLoopMinutes > 1440 {
             if lastLoopMinutes > 1440 {
                 watchState.lastLoopTime = "--"
                 watchState.lastLoopTime = "--"
             } else {
             } else {
-                watchState.lastLoopTime = "\(lastLoopMinutes)m"
+                watchState.lastLoopTime = "\(lastLoopMinutes) min"
             }
             }
 
 
             // Set IOB and COB from latest determination
             // Set IOB and COB from latest determination