Skip to content

Commit

Permalink
fix: add patient name to companion
Browse files Browse the repository at this point in the history
  • Loading branch information
sadeelmu committed Jul 18, 2024
1 parent d4812c2 commit 7f865ef
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Asthmaguard/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import SwiftUI
@available(iOS 17.0, *)
struct ContentView: View {
var body: some View {
RegisterScreen()
CompanionLoginScreen()

}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,18 @@ struct CompanionAsthmaThreatChart: View {
let chartColors: [Color] = [
.pink.opacity(0.5), .pink, .blue
]

HStack {
Image("sadeel")
.resizable()
.aspectRatio(contentMode: .fill)
.frame(width: 40, height: 40)
.clipShape(Circle())
.padding(.leading, 1)
VStack(alignment: .leading) {
Text("Sadeel Muwahed")
.font(.title3)
}
}.padding(.all,3)
Text("Asthma Threat: \(totalWeightedSeverity * 100, specifier: "%.1f")%")
.font(Font.custom("Poppins-Bold", size: 26))

Expand Down

0 comments on commit 7f865ef

Please sign in to comment.