LiveActivityBGAndTrendView.swift 445 B

123456789101112131415161718192021
  1. //
  2. // LiveActivityBGAndTrendView.swift
  3. // Trio
  4. //
  5. // Created by Cengiz Deniz on 17.10.24.
  6. //
  7. import Foundation
  8. import SwiftUI
  9. import WidgetKit
  10. struct LiveActivityBGAndTrendView: View {
  11. var context: ActivityViewContext<LiveActivityAttributes>
  12. var size: Size
  13. var glucoseColor: Color
  14. var body: some View {
  15. let (view, _) = bgAndTrend(context: context, size: size, glucoseColor: glucoseColor)
  16. return view
  17. }
  18. }