From ea6b6e4680fa1a2ab774f15bd6be821da5167ff8 Mon Sep 17 00:00:00 2001 From: gperissetcelteeka <129070838+gperissetcelteeka@users.noreply.github.com> Date: Thu, 5 Oct 2023 00:16:42 -0300 Subject: [PATCH] 181 bug report typo on the bpm notification (#182) Login & Notification HeartRate Text Correction --- Balance/Home/Home.swift | 10 +++++----- Balance/Login/LoginViewLocal.swift | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Balance/Home/Home.swift b/Balance/Home/Home.swift index 0d8d7f1..5bc035e 100644 --- a/Balance/Home/Home.swift +++ b/Balance/Home/Home.swift @@ -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() } @@ -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) diff --git a/Balance/Login/LoginViewLocal.swift b/Balance/Login/LoginViewLocal.swift index 75b6c9b..a0cfb8c 100644 --- a/Balance/Login/LoginViewLocal.swift +++ b/Balance/Login/LoginViewLocal.swift @@ -61,7 +61,7 @@ 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) @@ -69,7 +69,7 @@ struct LoginViewLocal: View { .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)