Skip to content

Commit

Permalink
181 bug report typo on the bpm notification (#182)
Browse files Browse the repository at this point in the history
Login & Notification HeartRate Text Correction
  • Loading branch information
gperissetcelteeka authored Oct 5, 2023
1 parent c5ef6c4 commit ea6b6e4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions Balance/Home/Home.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ struct HomeView: View {
}
}
.onChange(of: counter.count, perform: { _ in
if counter.count > 90 {
if counter.count > 100 {
print(counter.count)
alertHeartRate()
}
Expand Down Expand Up @@ -223,10 +223,10 @@ struct HomeView: View {

func alertHeartRate() {
let content = UNMutableNotificationContent()
content.title = "BALANCE"
content.subtitle = "Please chill!"
content.body = "Your heart rate are to up! Please relax with Balance!"
content.badge = 1
content.title = "Find some Balance"
content.subtitle = "Heads Up!"
content.body = "Your ❤️ heart's racing—time to find your Balance!"
content.badge = 1

let trigger = UNTimeIntervalNotificationTrigger(timeInterval: 5, repeats: false)

Expand Down
4 changes: 2 additions & 2 deletions Balance/Login/LoginViewLocal.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ struct LoginViewLocal: View {
.scaledToFit()
.frame(width: 250)
.accessibility(hidden: true)
Text("Login")
Text("Sign Up")
.multilineTextAlignment(.center)
.font(.custom("Nunito-Bold", size: 30))
.foregroundColor(violetColor)
Text("Welcome back,")
.multilineTextAlignment(.center)
.font(.custom("Montserrat-Thin", size: 17))
.foregroundColor(darkGrayColor)
Text("Sign in to continue")
Text("Sign Up to continue")
.multilineTextAlignment(.center)
.font(.custom("Montserrat-Thin", size: 17))
.foregroundColor(darkGrayColor)
Expand Down

0 comments on commit ea6b6e4

Please sign in to comment.