Commit c62867d9f95b85819ea172116aa5cc932cc99645

Authored by 权海
1 parent 03b69b43

feat(ui):移除原生的sd依赖

@@ -29,7 +29,7 @@ flutter_ios_podfile_setup @@ -29,7 +29,7 @@ flutter_ios_podfile_setup
29 target 'Runner' do 29 target 'Runner' do
30 use_frameworks! 30 use_frameworks!
31 31
32 - pod 'SDWebImage' 32 +# pod 'SDWebImage'
33 # pod 'ThinkingSDK' 33 # pod 'ThinkingSDK'
34 pod 'DeviceGuru' 34 pod 'DeviceGuru'
35 35
@@ -41,8 +41,8 @@ target 'Runner Watch App' do @@ -41,8 +41,8 @@ target 'Runner Watch App' do
41 platform :watchos, '10.0' 41 platform :watchos, '10.0'
42 use_frameworks! 42 use_frameworks!
43 43
44 - pod 'SDWebImage'  
45 - pod 'SDWebImageSwiftUI' 44 +# pod 'SDWebImage'
  45 +# pod 'SDWebImageSwiftUI'
46 # pod 'ThinkingDataAnalyticsExtension' 46 # pod 'ThinkingDataAnalyticsExtension'
47 end 47 end
48 48
@@ -17,11 +17,6 @@ PODS: @@ -17,11 +17,6 @@ PODS:
17 - FlutterMacOS 17 - FlutterMacOS
18 - permission_handler_apple (9.3.0): 18 - permission_handler_apple (9.3.0):
19 - Flutter 19 - Flutter
20 - - SDWebImage (5.21.7):  
21 - - SDWebImage/Core (= 5.21.7)  
22 - - SDWebImage/Core (5.21.7)  
23 - - SDWebImageSwiftUI (3.1.4):  
24 - - SDWebImage (~> 5.21.1)  
25 - shared_preferences_foundation (0.0.1): 20 - shared_preferences_foundation (0.0.1):
26 - Flutter 21 - Flutter
27 - FlutterMacOS 22 - FlutterMacOS
@@ -41,8 +36,6 @@ DEPENDENCIES: @@ -41,8 +36,6 @@ DEPENDENCIES:
41 - image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`) 36 - image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`)
42 - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`) 37 - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
43 - permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`) 38 - permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`)
44 - - SDWebImage  
45 - - SDWebImageSwiftUI  
46 - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`) 39 - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
47 - sqflite_darwin (from `.symlinks/plugins/sqflite_darwin/darwin`) 40 - sqflite_darwin (from `.symlinks/plugins/sqflite_darwin/darwin`)
48 - webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/darwin`) 41 - webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/darwin`)
@@ -50,8 +43,6 @@ DEPENDENCIES: @@ -50,8 +43,6 @@ DEPENDENCIES:
50 SPEC REPOS: 43 SPEC REPOS:
51 trunk: 44 trunk:
52 - DeviceGuru 45 - DeviceGuru
53 - - SDWebImage  
54 - - SDWebImageSwiftUI  
55 - TOCropViewController 46 - TOCropViewController
56 47
57 EXTERNAL SOURCES: 48 EXTERNAL SOURCES:
@@ -76,19 +67,17 @@ EXTERNAL SOURCES: @@ -76,19 +67,17 @@ EXTERNAL SOURCES:
76 67
77 SPEC CHECKSUMS: 68 SPEC CHECKSUMS:
78 DeviceGuru: f0f2bd81953d82777689f22025bca418e0c51d64 69 DeviceGuru: f0f2bd81953d82777689f22025bca418e0c51d64
79 - Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 70 + Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467
80 fluttertoast: 2c67e14dce98bbdb200df9e1acf610d7a6264ea1 71 fluttertoast: 2c67e14dce98bbdb200df9e1acf610d7a6264ea1
81 image_cropper: c4326ea50132b1e1564499e5d32a84f01fb03537 72 image_cropper: c4326ea50132b1e1564499e5d32a84f01fb03537
82 image_picker_ios: 7fe1ff8e34c1790d6fff70a32484959f563a928a 73 image_picker_ios: 7fe1ff8e34c1790d6fff70a32484959f563a928a
83 path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564 74 path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564
84 permission_handler_apple: 4ed2196e43d0651e8ff7ca3483a069d469701f2d 75 permission_handler_apple: 4ed2196e43d0651e8ff7ca3483a069d469701f2d
85 - SDWebImage: e9fc87c1aab89a8ab1bbd74eba378c6f53be8abf  
86 - SDWebImageSwiftUI: 965cdad5a7210b7ec06aaa1a3d17180d0a152250  
87 shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7 76 shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7
88 sqflite_darwin: 20b2a3a3b70e43edae938624ce550a3cbf66a3d0 77 sqflite_darwin: 20b2a3a3b70e43edae938624ce550a3cbf66a3d0
89 TOCropViewController: 80b8985ad794298fb69d3341de183f33d1853654 78 TOCropViewController: 80b8985ad794298fb69d3341de183f33d1853654
90 webview_flutter_wkwebview: 1821ceac936eba6f7984d89a9f3bcb4dea99ebb2 79 webview_flutter_wkwebview: 1821ceac936eba6f7984d89a9f3bcb4dea99ebb2
91 80
92 -PODFILE CHECKSUM: a8659e141c630710570ccaa57479406ca3a4bc20 81 +PODFILE CHECKSUM: 78d575ea7e6c8cdd99d8856129cd0c16fc5c03f9
93 82
94 COCOAPODS: 1.16.2 83 COCOAPODS: 1.16.2
@@ -15,27 +15,12 @@ struct MainPagingView: View { @@ -15,27 +15,12 @@ struct MainPagingView: View {
15 var body: some View { 15 var body: some View {
16 NavigationView { 16 NavigationView {
17 ZStack { 17 ZStack {
18 - // 主要内容 - 垂直分页  
19 - TabView(selection: $currentPage) {  
20 - StatusComparisonView(showPKView: $showPKView)  
21 - .tag(0)  
22 -  
23 - TodayDataView()  
24 - .tag(1)  
25 -  
26 - TakePulseView()  
27 - .tag(2)  
28 - }  
29 -#if os(watchOS)  
30 - .tabViewStyle(.verticalPage)  
31 -#else  
32 - .tabViewStyle(.page)  
33 -#endif 18 + DFDefaultWatchHomeView()
34 } 19 }
35 .navigationBarHidden(true) 20 .navigationBarHidden(true)
36 } 21 }
37 .fullScreenCover(isPresented: $showPKView, content: { 22 .fullScreenCover(isPresented: $showPKView, content: {
38 - PKDetailView() 23 + DFCoupleStressHomeView()
39 }) 24 })
40 .onAppear { 25 .onAppear {
41 router.consumeCachedPayloadIfNeeded() 26 router.consumeCachedPayloadIfNeeded()
1 -//  
2 -// PKDetailView.swift  
3 -// hippo-watch Watch App  
4 -//  
5 -// Created by shihao on 2025/7/7.  
6 -//  
7 -  
8 -import Foundation  
9 -import SwiftUI  
10 -import SDWebImageSwiftUI  
11 -  
12 -struct PKDetailView: View {  
13 - @Environment(\.presentationMode) var presentationMode  
14 - @StateObject private var vm = PKDetailViewModel()  
15 - @ObservedObject var userinfoManager = WatchUserinfoManager.share  
16 - @ObservedObject var dataManager = WatchDataManager.share  
17 -  
18 - var body: some View {  
19 - ScrollView {  
20 - VStack(spacing: 4.x) {  
21 - // 顶部用户头像  
22 - HStack(spacing: 0) {  
23 - Spacer()  
24 - ZStack {  
25 - WebImage(url: userinfoManager.myUserinfo?.avatar?.url)  
26 - .resizable()  
27 - .frame(width: 36.x, height: 36.x)  
28 - .background(.clear)  
29 - .clipShape(Circle())  
30 - .overlay(Circle().stroke(Color(hex: "#FF896CDC"), lineWidth: 1.x))  
31 -  
32 - if isMeWinner {  
33 - // 皇冠图标  
34 - Image(.pkPageCrown)  
35 - .offset(x: 11.x, y: -20.x)  
36 - }  
37 - }  
38 -  
39 - Spacer()  
40 -  
41 - ZStack {  
42 - WebImage(url: userinfoManager.otherUserinfo?.avatar?.url)  
43 - .resizable()  
44 - .frame(width: 36.x, height: 36.x)  
45 - .background(.clear)  
46 - .clipShape(Circle())  
47 - .overlay(Circle().stroke(Color(hex: "#FFFFF45B"), lineWidth: 1.x))  
48 -  
49 - if !isMeWinner {  
50 - // 皇冠图标  
51 - Image(.pkPageCrown)  
52 - .offset(x: 11.x, y: -20.x)  
53 - }  
54 - }  
55 - Spacer()  
56 - }  
57 -  
58 - Spacer()  
59 - .frame(height: 10.x)  
60 -  
61 - // 步数对比  
62 - HealthComparisonCard(  
63 - icon: .todayDataStep,  
64 - title: "今日步数",  
65 - leftValue: myStep?.string ?? "-",  
66 - rightValue: otherStep?.string ?? "-",  
67 - progress: stepProgerss,  
68 - isLeftWinning: true  
69 - )  
70 -  
71 - // 睡眠时间对比  
72 - HealthComparisonCard(  
73 - icon: .pkPageSleepIcon,  
74 - title: "睡眠时间",  
75 - leftValue: toSleepTimeDesc(mySleep),  
76 - rightValue: toSleepTimeDesc(otherSleep),  
77 - progress: sleepProgress,  
78 - isLeftWinning: false  
79 - )  
80 -  
81 - // 活动记录对比  
82 - HealthComparisonCard(  
83 - icon: .todayDataActivity,  
84 - title: "活动记录",  
85 - leftValue: "\(myActivity?.string ?? "-")千卡",  
86 - rightValue: "\(otherActivity?.string ?? "-")千卡",  
87 - progress: activityProgress,  
88 - isLeftWinning: true  
89 - )  
90 - }  
91 - .padding(.horizontal, 8.x)  
92 - .padding(.bottom, 20)  
93 - }  
94 - .background(Color.black)  
95 - .toolbar {  
96 - ToolbarItem(placement: .topBarTrailing) {  
97 - Text("PK")  
98 - .font(.system(size: 17))  
99 - .foregroundColor(.white)  
100 - }  
101 - }  
102 - .onAppear {  
103 - vm.refreshData()  
104 - ThinkSDKUtil.track(eventName: "enter_doublefeel_watch_page",  
105 - properties: ["page_type": "PK"])  
106 - }  
107 - }  
108 -  
109 - private var isMeWinner: Bool {  
110 - let step = stepProgerss > 0.5 ? 1 : 0  
111 - let sleep = sleepProgress > 0.5 ? 1 : 0  
112 - let activity = activityProgress > 0.5 ? 1 : 0  
113 -  
114 - let total = step + sleep + activity  
115 - return total > 1  
116 - }  
117 -  
118 - private var myStep: Int? {  
119 - return dataManager.myTodayStepCount  
120 - }  
121 -  
122 - private var otherStep: Int? {  
123 - return dataManager.otherTodayHealthInfo?.recentData?.steps  
124 - }  
125 -  
126 - private var stepProgerss: Double {  
127 - let mine = (myStep ?? 0).double  
128 - let other = (otherStep ?? 0).double  
129 - if mine == 0 && other == 0 {  
130 - return 0.5  
131 - }  
132 - return mine / (mine + other)  
133 - }  
134 -  
135 - private var mySleep: TimeInterval? {  
136 - return dataManager.myTodaySleepTime  
137 - }  
138 -  
139 - private var otherSleep: TimeInterval? {  
140 - return dataManager.otherTodayHealthInfo?.sleepDuration.double  
141 - }  
142 -  
143 - private var sleepProgress: Double {  
144 - let mine = mySleep ?? 0  
145 - let other = otherSleep ?? 0  
146 - if mine == 0 && other == 0 {  
147 - return 0.5  
148 - }  
149 - return mine / (mine + other)  
150 - }  
151 -  
152 - private var myActivity: Int? {  
153 - return dataManager.myTodayActiveEnergy?.int  
154 - }  
155 -  
156 - private var otherActivity: Int? {  
157 - return dataManager.otherTodayHealthInfo?.recentData?.move  
158 - }  
159 -  
160 - private var activityProgress: Double {  
161 - let mine = (myActivity ?? 0).double  
162 - let other = (otherActivity ?? 0).double  
163 - if mine == 0 && other == 0 {  
164 - return 0.5  
165 - }  
166 - return mine / (mine + other)  
167 - }  
168 -  
169 - private func toSleepTimeDesc(_ duration: Double?) -> String {  
170 - guard let duration else {  
171 - return "-"  
172 - }  
173 -  
174 - let totalMinutes = Int(duration / 60)  
175 - let hours = totalMinutes / 60  
176 - let minutes = totalMinutes % 60  
177 -  
178 - return "\(hours)小时\(minutes)分"  
179 - }  
180 -}  
181 -  
182 -struct HealthComparisonCard: View {  
183 - let icon: ImageResource  
184 - let title: String  
185 - let leftValue: String  
186 - let rightValue: String  
187 - let progress: Double  
188 - let isLeftWinning: Bool  
189 -  
190 - var body: some View {  
191 - VStack(alignment: .leading, spacing: 0) {  
192 - // 标题行  
193 - HStack {  
194 - Image(icon)  
195 - .resizable()  
196 - .frame(width: 16.x, height: 16.x)  
197 -  
198 - Text(title)  
199 - .foregroundColor(.white)  
200 - .font(.system(size: 14))  
201 - .fontWeight(.regular)  
202 - }  
203 -  
204 - // 数值对比  
205 - HStack {  
206 - Text(leftValue)  
207 - .foregroundColor(leftTextColor)  
208 - .font(.system(size: 12))  
209 - .fontWeight(.semibold)  
210 -  
211 - Spacer()  
212 -  
213 - Text(rightValue)  
214 - .foregroundColor(rightTextColor)  
215 - .font(.system(size: 12))  
216 - .fontWeight(.regular)  
217 - }  
218 - .padding(.top, 13.x)  
219 -  
220 - // 进度条  
221 - ZStack(alignment: .leading) {  
222 -  
223 - // 进度条  
224 - GeometryReader { geometry in  
225 - ZStack(alignment: .topLeading) {  
226 - HStack(spacing: 0) {  
227 - // 左侧进度(粉色)  
228 - Rectangle()  
229 - .fill(  
230 - Color(hex: "#FFFFD3E5")  
231 - )  
232 - .frame(width: geometry.size.width * progress,  
233 - height: 12.x)  
234 - .cornerRadius(6.x, corners: [.topLeft, .bottomLeft])  
235 -  
236 - // 右侧进度(蓝色)  
237 - Rectangle()  
238 - .fill(  
239 - Color(hex: "#FFC5DFFF")  
240 - )  
241 - .frame(width: geometry.size.width * (1 - progress),  
242 - height: 12.x)  
243 - .cornerRadius(6.x, corners: [.topRight, .bottomRight])  
244 - }  
245 -  
246 - // 中间分割点  
247 - Circle()  
248 - .fill(Color(hex: "#FFFFD2A1"))  
249 - .stroke(Color.black, lineWidth: 2.x)  
250 - .frame(width: 16.x, height: 16.x)  
251 - .offset(x: circleOffsetx(geometryWidth: geometry.size.width),  
252 - y: -2.x)  
253 - }  
254 - }  
255 -  
256 -  
257 - }  
258 - .padding(.top, 8.x)  
259 - .padding(.bottom, 7.x)  
260 - }  
261 - .padding(6.x)  
262 - .background(  
263 - RoundedRectangle(cornerRadius: 16.x)  
264 - .fill(Color.gray.opacity(0.31))  
265 - )  
266 - }  
267 -  
268 - private func circleOffsetx(geometryWidth: CGFloat) -> CGFloat {  
269 - if progress == 0 {  
270 - return -2.x  
271 - }  
272 - if progress == 1 {  
273 - return progress * geometryWidth - 10.x  
274 - }  
275 - return progress * geometryWidth - 8.x  
276 - }  
277 -  
278 - private var leftTextColor: Color {  
279 - return progress > 0.5 ? .init(hex: "#FFFFA51B") : .white.opacity(0.31)  
280 - }  
281 -  
282 - private var rightTextColor: Color {  
283 - return progress < 0.5 ? .init(hex: "#FFFFA51B") : .white.opacity(0.31)  
284 - }  
285 -}  
1 -//  
2 -// PKDetailViewModel.swift  
3 -// hippo-watch Watch App  
4 -//  
5 -// Created by shihao on 2025/7/8.  
6 -//  
7 -  
8 -import Foundation  
9 -import Combine  
10 -  
11 -  
12 -class PKDetailViewModel: ObservableObject {  
13 -  
14 - func refreshData() {  
15 - WatchDataManager.share.fetchMyTodayData()  
16 - WatchDataManager.share.fetchOtherTodayData()  
17 - }  
18 -}  
1 -//  
2 -// StatusComparisonView.swift  
3 -// hippo-watch Watch App  
4 -//  
5 -// Created by shihao on 2025/7/7.  
6 -//  
7 -  
8 -import Foundation  
9 -import SwiftUI  
10 -import SDWebImageSwiftUI  
11 -  
12 -struct StatusComparisonView: View {  
13 - @Environment(\.scenePhase) private var scenePhase  
14 - @StateObject private var vm = StatusComparisonViewModel()  
15 - @Binding var showPKView: Bool  
16 - @ObservedObject var userinfoManager = WatchUserinfoManager.share  
17 - @ObservedObject var dataManager = WatchDataManager.share  
18 -  
19 - var body: some View {  
20 - GeometryReader { geometry in  
21 -  
22 - VStack(spacing: 6.x) {  
23 - // 顶部时间和标题  
24 - HStack {  
25 - Text("PK")  
26 - .font(.system(size: 16, weight: .semibold))  
27 - .foregroundColor(.white)  
28 - .frame(width: 34.x, height: 34.x)  
29 - .background(Color.white.opacity(0.3))  
30 - .clipShape(Circle())  
31 - .onTapGesture {  
32 - showPKView = true  
33 - }  
34 -  
35 - Spacer()  
36 -  
37 - VStack(spacing: 2) {  
38 - Spacer()  
39 - Text("我们的状态")  
40 - .font(.system(size: 17))  
41 - .foregroundColor(.white)  
42 - }  
43 -  
44 - }  
45 - .padding(.horizontal, 11.x)  
46 - .padding(.top, 13.x)  
47 -  
48 - // 用户状态对比  
49 - HStack(spacing: 0) {  
50 - Spacer()  
51 - // 左侧用户  
52 - VStack(spacing: 0) {  
53 - // 压力状态动画  
54 - if isMeCustomTheme {  
55 - WebImage(url: myCustomThemeImageURL)  
56 - .resizable()  
57 - .frame(width: 67.x, height: 67.x)  
58 - .cornerRadius(12.x)  
59 - .overlay(RoundedRectangle(cornerRadius: 12.x).stroke(Color(hex: "#7F7F7F"), lineWidth: 1))  
60 - }else {  
61 - AnimatedGIFView(gifName: myCharacterAnimationName)  
62 - .frame(width: 80.x, height: 80.x)  
63 - }  
64 -  
65 - // 用户信息  
66 - HStack(spacing: 4.x) {  
67 - WebImage(url: userinfoManager.myUserinfo?.avatar?.url)  
68 - .resizable()  
69 - .frame(width: 20.x, height: 20.x)  
70 - .background(.clear)  
71 - .clipShape(Circle())  
72 -  
73 - VStack(alignment: .leading, spacing: 2) {  
74 - Text(myHRVStatusDescription)  
75 - .font(.system(size: 13, weight: .medium))  
76 - .foregroundColor(myHRVStatus?.watchStatusTextColor ?? .white)  
77 - Text(myHRVValueString)  
78 - .font(.system(size: 9))  
79 - .foregroundColor(.white.opacity(0.7))  
80 - }  
81 - }  
82 - .padding(.top, isMeCustomTheme ? 7.x : -10.x)  
83 - }  
84 -  
85 - Spacer()  
86 -  
87 - // 右侧用户  
88 - VStack(spacing: 0) {  
89 - // 压力状态动画  
90 - if isOtherCustomTheme {  
91 - WebImage(url: otherCustomThemeImageURL)  
92 - .resizable()  
93 - .frame(width: 67.x, height: 67.x)  
94 - .cornerRadius(12.x)  
95 - .overlay(RoundedRectangle(cornerRadius: 12.x).stroke(Color(hex: "#7F7F7F"), lineWidth: 1))  
96 - }else {  
97 - AnimatedGIFView(gifName: otherCharacterAnimationName)  
98 - .frame(width: 80.x, height: 80.x)  
99 - }  
100 -  
101 - // 用户信息  
102 - HStack(spacing: 4.x) {  
103 - VStack(alignment: .trailing, spacing: 2) {  
104 - Text(otherHRVStatusDescription)  
105 - .font(.system(size: 13, weight: .medium))  
106 - .foregroundColor(otherHRVStatus?.watchStatusTextColor ?? .white)  
107 - Text(otherHRVValueString)  
108 - .font(.system(size: 9))  
109 - .foregroundColor(.white.opacity(0.7))  
110 - }  
111 -  
112 - WebImage(url: userinfoManager.otherUserinfo?.avatar?.url)  
113 - .resizable()  
114 - .frame(width: 20.x, height: 20.x)  
115 - .background(.clear)  
116 - .clipShape(Circle())  
117 - }  
118 - .padding(.top, isOtherCustomTheme ? 7.x : -10.x)  
119 - }  
120 -  
121 - Spacer()  
122 - }  
123 -  
124 - Spacer()  
125 -  
126 - // 底部想他按钮  
127 - HStack(spacing: 2.x) {  
128 - Image(userinfoManager.interactionActionType.buttonImage)  
129 - .resizable()  
130 - .frame(width: 28.x, height: 28.x)  
131 - .scaleEffect(x: -1, y: 1)  
132 -  
133 - Text(userinfoManager.interactionActionType.title)  
134 - .font(.system(size: 15, weight: .regular))  
135 - .foregroundColor(.white)  
136 - }  
137 - .frame(maxWidth: .infinity)  
138 - .frame(height: 36.x)  
139 - .background(  
140 - RoundedRectangle(cornerRadius: 18.x)  
141 - .fill(Color(hex: "#758564FF").opacity(0.5))  
142 - )  
143 - .padding(.horizontal, 12.x)  
144 - .padding(.bottom, 10.x)  
145 - .onTapGesture {  
146 - vm.onInteractionClick()  
147 - ThinkSDKUtil.track(eventName: "click_doublefeel_watch_page",  
148 - properties: ["click_content": "互动键",  
149 - "page_type": "我们的状态",  
150 - "Interactive_type": WatchUserinfoManager.share.interactionActionType.title])  
151 - }  
152 -  
153 -  
154 - }  
155 - .navigationBarHidden(true)  
156 - .frame(width: geometry.size.width, height: geometry.size.height)  
157 - .background(  
158 - HStack(spacing: 0) {  
159 - LinearGradient(  
160 - gradient: Gradient(colors: myBgColors),  
161 - startPoint: .top,  
162 - endPoint: .bottom  
163 - )  
164 -  
165 - LinearGradient(  
166 - gradient: Gradient(colors: otherBgColors),  
167 - startPoint: .top,  
168 - endPoint: .bottom  
169 - )  
170 - }  
171 - )  
172 - .overlay {  
173 - if let currentInteractionAction = vm.currentInteractionAction {  
174 - AnimatedGIFView(gifName: currentInteractionAction.statusComparisonAnimationName)  
175 - .frame(maxWidth: .infinity, maxHeight: .infinity)  
176 - .padding(.top, 10.x)  
177 - }  
178 - }  
179 - }  
180 - .ignoresSafeArea(.all)  
181 - .onAppear {  
182 - dataManager.fetchCoupleLatestHRV()  
183 - ThinkSDKUtil.track(eventName: "enter_doublefeel_watch_page",  
184 - properties: ["page_type": "我们的状态"])  
185 -  
186 - }  
187 - .onReceive(NotificationCenter.default.publisher(for: NotificationType.watchThemeChanged)) { notification in  
188 - vm.refreshTheme()  
189 - }  
190 - .onChange(of: scenePhase) { _, newPhase in  
191 - if newPhase == .active {  
192 - vm.refreshTheme()  
193 - }  
194 - }  
195 -  
196 - }  
197 -  
198 - private var myBgColors: [Color] {  
199 - let status = myHRVStatus ?? .normal  
200 - return status.watchStatusColors  
201 - }  
202 -  
203 - private var otherBgColors: [Color] {  
204 - let status = otherHRVStatus ?? .normal  
205 - return status.watchStatusColors  
206 - }  
207 -  
208 - private var myHRVStatusDescription: String {  
209 - guard let myHRVStatus else {  
210 - return "-"  
211 - }  
212 -  
213 - if isMeCustomTheme == true {  
214 - return vm.myWatchTheme?.hrvStatusDescription(hrvStatus: myHRVStatus) ?? myHRVStatus.rawValue  
215 - }else {  
216 - return myHRVStatus.rawValue  
217 - }  
218 - }  
219 -  
220 - private var otherHRVStatusDescription: String {  
221 - guard let otherHRVStatus else {  
222 - return "-"  
223 - }  
224 -  
225 - if isOtherCustomTheme == true {  
226 - return vm.otherWatchTheme?.hrvStatusDescription(hrvStatus: otherHRVStatus) ?? otherHRVStatus.rawValue  
227 - }else {  
228 - return otherHRVStatus.rawValue  
229 - }  
230 - }  
231 -  
232 - private var myHRVValueString: String {  
233 - if let value = dataManager.myLatestHRVData?.value {  
234 - if value.truncatingRemainder(dividingBy: 1) == 0 {  
235 - return String(format: "%.0f", value) + "ms"// 没有小数部分  
236 - } else {  
237 - return String(format: "%.1f", value) + "ms" // 最多一位小数  
238 - }  
239 - }  
240 -  
241 - return "-ms"  
242 - }  
243 -  
244 - private var otherHRVValueString: String {  
245 - if let value = dataManager.otherLatestHRVData?.value {  
246 - if value.truncatingRemainder(dividingBy: 1) == 0 {  
247 - return String(format: "%.0f", value) + "ms"// 没有小数部分  
248 - } else {  
249 - return String(format: "%.1f", value) + "ms" // 最多一位小数  
250 - }  
251 - }  
252 -  
253 - return "-ms"  
254 - }  
255 -  
256 - private var myHRVStatus: HRVStatus? {  
257 - return dataManager.myLatestHRVData?.status  
258 - }  
259 -  
260 - private var otherHRVStatus: HRVStatus? {  
261 - return dataManager.otherLatestHRVData?.status  
262 - }  
263 -  
264 - private var myCharacterAnimationName: String {  
265 - let character = userinfoManager.myUserinfo?.persona ?? .cat  
266 - print("我的hrvstatus:\(String(describing: myHRVStatus))")  
267 - return character.getCharacterAnimationFileName(myHRVStatus)  
268 - }  
269 -  
270 - private var otherCharacterAnimationName: String {  
271 - let character = userinfoManager.otherUserinfo?.persona ?? .cat  
272 - return character.getCharacterAnimationFileName(otherHRVStatus)  
273 - }  
274 -  
275 - private var isMeCustomTheme: Bool {  
276 - guard let theme = vm.myWatchTheme else {return false}  
277 - return theme.isDefaultTheme != true  
278 - }  
279 -  
280 - private var isOtherCustomTheme: Bool {  
281 - guard let theme = vm.otherWatchTheme else {return false}  
282 - return theme.isDefaultTheme != true  
283 - }  
284 -  
285 - private var myCustomThemeImageURL: URL? {  
286 - let hrvStatus = dataManager.myLatestHRVData?.status ?? .normal  
287 - if let imageUrl = vm.myWatchTheme?.hrvStatusThumnailImageURL(hrvStatus: hrvStatus) {  
288 - return URL(string: imageUrl)  
289 - }  
290 - return nil  
291 - }  
292 -  
293 - private var otherCustomThemeImageURL: URL? {  
294 - let hrvStatus = dataManager.myLatestHRVData?.status ?? .normal  
295 - if let imageUrl = vm.otherWatchTheme?.hrvStatusThumnailImageURL(hrvStatus: hrvStatus) {  
296 - return URL(string: imageUrl)  
297 - }  
298 - return nil  
299 - }  
300 -}  
301 -  
302 -fileprivate extension UserCharacter {  
303 - func getCharacterAnimationFileName(_ status: HRVStatus?) -> String {  
304 - switch self {  
305 - case .cat, .default:  
306 - switch status {  
307 - case .fullOfEnergy:  
308 - return "catFullOfEnergy"  
309 - case .normal:  
310 - return "catNormal"  
311 - case .overpressure:  
312 - return "catOverpressure"  
313 - case nil:  
314 - return "catNormal"  
315 - }  
316 - case .dog:  
317 - switch status {  
318 - case .fullOfEnergy:  
319 - return "dogFullOfEnergy"  
320 - case .normal:  
321 - return "dogNormal"  
322 - case .overpressure:  
323 - return "dogOverpressure"  
324 - case nil:  
325 - return "dogNormal"  
326 - }  
327 - case .rabbit:  
328 - switch status {  
329 - case .fullOfEnergy:  
330 - return "rabbitFullOfEnergy"  
331 - case .normal:  
332 - return "rabbitNormal"  
333 - case .overpressure:  
334 - return "rabbitOverpressure"  
335 - case nil:  
336 - return "rabbitNormal"  
337 - }  
338 - case .elephant:  
339 - switch status {  
340 - case .fullOfEnergy:  
341 - return "elephantFullOfEnergy"  
342 - case .normal:  
343 - return "elephantNormal"  
344 - case .overpressure:  
345 - return "elephantOverpressure"  
346 - case nil:  
347 - return "elephantNormal"  
348 - }  
349 - }  
350 - }  
351 -}  
@@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
8 import Foundation 8 import Foundation
9 import SwiftUI 9 import SwiftUI
10 import ClockKit 10 import ClockKit
11 -import SDWebImage 11 +//import SDWebImage
12 import Combine 12 import Combine
13 13
14 class StatusComparisonViewModel: ObservableObject { 14 class StatusComparisonViewModel: ObservableObject {
@@ -132,14 +132,14 @@ class StatusComparisonViewModel: ObservableObject { @@ -132,14 +132,14 @@ class StatusComparisonViewModel: ObservableObject {
132 132
133 // 将下载逻辑封装成 async 方法 133 // 将下载逻辑封装成 async 方法
134 func downloadAndSave(_ url: URL?) async { 134 func downloadAndSave(_ url: URL?) async {
135 - await withCheckedContinuation { continuation in  
136 - SDWebImageDownloader.shared.downloadImage(with: url) { image, data, error, _ in  
137 - if let data {  
138 - self.saveImageToAppGroup(data, fileName: url?.lastPathComponent)  
139 - }  
140 - continuation.resume()  
141 - }  
142 - } 135 +// await withCheckedContinuation { continuation in
  136 +// SDWebImageDownloader.shared.downloadImage(with: url) { image, data, error, _ in
  137 +// if let data {
  138 +// self.saveImageToAppGroup(data, fileName: url?.lastPathComponent)
  139 +// }
  140 +// continuation.resume()
  141 +// }
  142 +// }
143 } 143 }
144 144
145 await withTaskGroup(of: Void.self) { group in 145 await withTaskGroup(of: Void.self) { group in
1 -//  
2 -// TodayDataView.swift  
3 -// hippo-watch Watch App  
4 -//  
5 -// Created by shihao on 2025/7/7.  
6 -//  
7 -  
8 -import Foundation  
9 -import SwiftUI  
10 -  
11 -struct TodayDataView: View {  
12 -  
13 - @ObservedObject private var dataManager = WatchDataManager.share  
14 -  
15 - var body: some View {  
16 - ScrollView {  
17 - VStack(spacing: 0) {  
18 - // 顶部时间和标题  
19 - HStack(spacing: 2) {  
20 - Spacer()  
21 - Text("我的今日数据")  
22 - .font(.system(size: 17))  
23 - .foregroundColor(.white)  
24 - .padding(.horizontal, 8.x)  
25 - }  
26 -  
27 - // 数据卡片列表  
28 - VStack(spacing: 4.x) {  
29 - // 平均HRV  
30 - DataCard(  
31 - icon: .todayDataHRV,  
32 - iconColor: .pink,  
33 - title: "平均HRV",  
34 - value: dataManager.myTodayAvgHRV.map {  
35 - $0.truncatingRemainder(dividingBy: 1) == 0 ? String(Int($0)) : String(format: "%.1f", $0)  
36 - } ?? "-",  
37 - unit: "ms"  
38 - )  
39 -  
40 - // 最新心率  
41 - DataCard(  
42 - icon: .todayDataHR,  
43 - iconColor: .red,  
44 - title: "最新心率",  
45 - value: dataManager.myLatestHeartRate?.int.string ?? "-",  
46 - unit: "次/分"  
47 - )  
48 -  
49 - // 步数  
50 - DataCard(  
51 - icon: .todayDataStep,  
52 - iconColor: .orange,  
53 - title: "步数",  
54 - value: dataManager.myTodayStepCount?.string ?? "-",  
55 - unit: "步"  
56 - )  
57 -  
58 - // 活动记录  
59 - DataCard(  
60 - icon: .todayDataActivity,  
61 - iconColor: .orange,  
62 - title: "活动记录",  
63 - value: dataManager.myTodayActiveEnergy?.int.string ?? "-",  
64 - unit: "千卡"  
65 - )  
66 - }  
67 - .padding(.top, 14.x)  
68 - .padding(.horizontal, 8.x)  
69 - }  
70 - .background(Color.black)  
71 - }  
72 - .onAppear {  
73 - ThinkSDKUtil.track(eventName: "enter_doublefeel_watch_page",  
74 - properties: ["page_type": "今日数据"])  
75 - }  
76 - }  
77 -}  
78 -  
79 -struct DataCard: View {  
80 - let icon: ImageResource  
81 - let iconColor: Color  
82 - let title: String  
83 - let value: String  
84 - let unit: String  
85 -  
86 - var body: some View {  
87 - HStack(spacing: 0) {  
88 - // 左侧图标  
89 - Image(icon)  
90 - .foregroundColor(iconColor)  
91 - .font(.system(size: 14))  
92 - .frame(width: 20.x, height: 20.x)  
93 -  
94 - // 标题  
95 - Text(title)  
96 - .font(.system(size: 14, weight: .semibold))  
97 - .foregroundColor(.white)  
98 - .padding(.leading, 4.x)  
99 -  
100 - Spacer()  
101 -  
102 - // 数值  
103 - Text(value)  
104 - .font(.system(size: 14, weight: .semibold))  
105 - .foregroundColor(.white)  
106 - Text(unit)  
107 - .font(.system(size: 12, weight: .regular))  
108 - .foregroundColor(.white.opacity(0.6))  
109 - .padding(.leading, 2.x)  
110 - .padding(.trailing, 8.x)  
111 - }  
112 - .padding(.leading, 8.x)  
113 - .padding(.vertical, 10.x)  
114 - .background(  
115 - RoundedRectangle(cornerRadius: 16.x)  
116 - .fill(Color.white.opacity(0.31))  
117 - )  
118 - }  
119 -}  
@@ -243,8 +243,6 @@ @@ -243,8 +243,6 @@
243 661A0D362FE2AB340026EEBB /* hippo-watch-extension */, 243 661A0D362FE2AB340026EEBB /* hippo-watch-extension */,
244 ); 244 );
245 name = "hippo-watch-extensionExtension"; 245 name = "hippo-watch-extensionExtension";
246 - packageProductDependencies = (  
247 - );  
248 productName = "hippo-watch-extensionExtension"; 246 productName = "hippo-watch-extensionExtension";
249 productReference = 661A0D332FE2AB340026EEBB /* hippo-watch-extensionExtension.appex */; 247 productReference = 661A0D332FE2AB340026EEBB /* hippo-watch-extensionExtension.appex */;
250 productType = "com.apple.product-type.app-extension"; 248 productType = "com.apple.product-type.app-extension";
@@ -285,7 +283,6 @@ @@ -285,7 +283,6 @@
285 66FBE5882FDA4F0F00F515B4 /* Frameworks */, 283 66FBE5882FDA4F0F00F515B4 /* Frameworks */,
286 66FBE5892FDA4F0F00F515B4 /* Resources */, 284 66FBE5892FDA4F0F00F515B4 /* Resources */,
287 66FBE5BE2FDA518D00F515B4 /* Embed Foundation Extensions */, 285 66FBE5BE2FDA518D00F515B4 /* Embed Foundation Extensions */,
288 - 1F69C09D185F42507815E3C2 /* [CP] Embed Pods Frameworks */,  
289 ); 286 );
290 buildRules = ( 287 buildRules = (
291 ); 288 );
@@ -367,27 +364,6 @@ @@ -367,27 +364,6 @@
367 /* End PBXResourcesBuildPhase section */ 364 /* End PBXResourcesBuildPhase section */
368 365
369 /* Begin PBXShellScriptBuildPhase section */ 366 /* Begin PBXShellScriptBuildPhase section */
370 - 1F69C09D185F42507815E3C2 /* [CP] Embed Pods Frameworks */ = {  
371 - isa = PBXShellScriptBuildPhase;  
372 - buildActionMask = 2147483647;  
373 - files = (  
374 - );  
375 - inputFileListPaths = (  
376 - "${PODS_ROOT}/Target Support Files/Pods-Runner Watch App/Pods-Runner Watch App-frameworks-${CONFIGURATION}-input-files.xcfilelist",  
377 - );  
378 - inputPaths = (  
379 - );  
380 - name = "[CP] Embed Pods Frameworks";  
381 - outputFileListPaths = (  
382 - "${PODS_ROOT}/Target Support Files/Pods-Runner Watch App/Pods-Runner Watch App-frameworks-${CONFIGURATION}-output-files.xcfilelist",  
383 - );  
384 - outputPaths = (  
385 - );  
386 - runOnlyForDeploymentPostprocessing = 0;  
387 - shellPath = /bin/sh;  
388 - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner Watch App/Pods-Runner Watch App-frameworks.sh\"\n";  
389 - showEnvVarsInLog = 0;  
390 - };  
391 4348DC7B38CB739C4ABA7DAC /* [CP] Embed Pods Frameworks */ = { 367 4348DC7B38CB739C4ABA7DAC /* [CP] Embed Pods Frameworks */ = {
392 isa = PBXShellScriptBuildPhase; 368 isa = PBXShellScriptBuildPhase;
393 buildActionMask = 2147483647; 369 buildActionMask = 2147483647;
@@ -396,14 +372,10 @@ @@ -396,14 +372,10 @@
396 inputFileListPaths = ( 372 inputFileListPaths = (
397 "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", 373 "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
398 ); 374 );
399 - inputPaths = (  
400 - );  
401 name = "[CP] Embed Pods Frameworks"; 375 name = "[CP] Embed Pods Frameworks";
402 outputFileListPaths = ( 376 outputFileListPaths = (
403 "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", 377 "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
404 ); 378 );
405 - outputPaths = (  
406 - );  
407 runOnlyForDeploymentPostprocessing = 0; 379 runOnlyForDeploymentPostprocessing = 0;
408 shellPath = /bin/sh; 380 shellPath = /bin/sh;
409 shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; 381 shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
@@ -496,14 +468,10 @@ @@ -496,14 +468,10 @@
496 inputFileListPaths = ( 468 inputFileListPaths = (
497 "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist", 469 "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
498 ); 470 );
499 - inputPaths = (  
500 - );  
501 name = "[CP] Copy Pods Resources"; 471 name = "[CP] Copy Pods Resources";
502 outputFileListPaths = ( 472 outputFileListPaths = (
503 "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist", 473 "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
504 ); 474 );
505 - outputPaths = (  
506 - );  
507 runOnlyForDeploymentPostprocessing = 0; 475 runOnlyForDeploymentPostprocessing = 0;
508 shellPath = /bin/sh; 476 shellPath = /bin/sh;
509 shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; 477 shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<Scheme
  3 + LastUpgradeVersion = "2600"
  4 + version = "1.7">
  5 + <BuildAction
  6 + parallelizeBuildables = "YES"
  7 + buildImplicitDependencies = "YES"
  8 + buildArchitectures = "Automatic">
  9 + <BuildActionEntries>
  10 + <BuildActionEntry
  11 + buildForTesting = "YES"
  12 + buildForRunning = "YES"
  13 + buildForProfiling = "YES"
  14 + buildForArchiving = "YES"
  15 + buildForAnalyzing = "YES">
  16 + <BuildableReference
  17 + BuildableIdentifier = "primary"
  18 + BlueprintIdentifier = "66FBE58A2FDA4F0F00F515B4"
  19 + BuildableName = "Runner Watch App.app"
  20 + BlueprintName = "Runner Watch App"
  21 + ReferencedContainer = "container:Runner.xcodeproj">
  22 + </BuildableReference>
  23 + </BuildActionEntry>
  24 + <BuildActionEntry
  25 + buildForTesting = "YES"
  26 + buildForRunning = "YES"
  27 + buildForProfiling = "YES"
  28 + buildForArchiving = "YES"
  29 + buildForAnalyzing = "YES">
  30 + <BuildableReference
  31 + BuildableIdentifier = "primary"
  32 + BlueprintIdentifier = "66FBE57D2FDA4F0E00F515B4"
  33 + BuildableName = "Runner.app"
  34 + BlueprintName = "Runner"
  35 + ReferencedContainer = "container:Runner.xcodeproj">
  36 + </BuildableReference>
  37 + </BuildActionEntry>
  38 + </BuildActionEntries>
  39 + </BuildAction>
  40 + <TestAction
  41 + buildConfiguration = "Debug"
  42 + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
  43 + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
  44 + shouldUseLaunchSchemeArgsEnv = "YES"
  45 + shouldAutocreateTestPlan = "YES">
  46 + </TestAction>
  47 + <LaunchAction
  48 + buildConfiguration = "Debug"
  49 + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
  50 + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
  51 + launchStyle = "0"
  52 + useCustomWorkingDirectory = "NO"
  53 + ignoresPersistentStateOnLaunch = "NO"
  54 + debugDocumentVersioning = "YES"
  55 + debugServiceExtension = "internal"
  56 + allowLocationSimulation = "YES">
  57 + <BuildableProductRunnable
  58 + runnableDebuggingMode = "0">
  59 + <BuildableReference
  60 + BuildableIdentifier = "primary"
  61 + BlueprintIdentifier = "66FBE58A2FDA4F0F00F515B4"
  62 + BuildableName = "Runner Watch App.app"
  63 + BlueprintName = "Runner Watch App"
  64 + ReferencedContainer = "container:Runner.xcodeproj">
  65 + </BuildableReference>
  66 + </BuildableProductRunnable>
  67 + </LaunchAction>
  68 + <ProfileAction
  69 + buildConfiguration = "Release"
  70 + shouldUseLaunchSchemeArgsEnv = "YES"
  71 + savedToolIdentifier = ""
  72 + useCustomWorkingDirectory = "NO"
  73 + debugDocumentVersioning = "YES">
  74 + <BuildableProductRunnable
  75 + runnableDebuggingMode = "0">
  76 + <BuildableReference
  77 + BuildableIdentifier = "primary"
  78 + BlueprintIdentifier = "66FBE58A2FDA4F0F00F515B4"
  79 + BuildableName = "Runner Watch App.app"
  80 + BlueprintName = "Runner Watch App"
  81 + ReferencedContainer = "container:Runner.xcodeproj">
  82 + </BuildableReference>
  83 + </BuildableProductRunnable>
  84 + </ProfileAction>
  85 + <AnalyzeAction
  86 + buildConfiguration = "Debug">
  87 + </AnalyzeAction>
  88 + <ArchiveAction
  89 + buildConfiguration = "Release"
  90 + revealArchiveInOrganizer = "YES">
  91 + </ArchiveAction>
  92 +</Scheme>
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<Scheme
  3 + LastUpgradeVersion = "2600"
  4 + version = "2.0">
  5 + <BuildAction
  6 + parallelizeBuildables = "YES"
  7 + buildImplicitDependencies = "YES"
  8 + buildArchitectures = "Automatic">
  9 + <BuildActionEntries>
  10 + <BuildActionEntry
  11 + buildForTesting = "YES"
  12 + buildForRunning = "YES"
  13 + buildForProfiling = "YES"
  14 + buildForArchiving = "YES"
  15 + buildForAnalyzing = "YES">
  16 + <BuildableReference
  17 + BuildableIdentifier = "primary"
  18 + BlueprintIdentifier = "661A0D322FE2AB340026EEBB"
  19 + BuildableName = "hippo-watch-extensionExtension.appex"
  20 + BlueprintName = "hippo-watch-extensionExtension"
  21 + ReferencedContainer = "container:Runner.xcodeproj">
  22 + </BuildableReference>
  23 + </BuildActionEntry>
  24 + <BuildActionEntry
  25 + buildForTesting = "YES"
  26 + buildForRunning = "YES"
  27 + buildForProfiling = "YES"
  28 + buildForArchiving = "YES"
  29 + buildForAnalyzing = "YES">
  30 + <BuildableReference
  31 + BuildableIdentifier = "primary"
  32 + BlueprintIdentifier = "66FBE58A2FDA4F0F00F515B4"
  33 + BuildableName = "Runner Watch App.app"
  34 + BlueprintName = "Runner Watch App"
  35 + ReferencedContainer = "container:Runner.xcodeproj">
  36 + </BuildableReference>
  37 + </BuildActionEntry>
  38 + <BuildActionEntry
  39 + buildForTesting = "YES"
  40 + buildForRunning = "YES"
  41 + buildForProfiling = "YES"
  42 + buildForArchiving = "YES"
  43 + buildForAnalyzing = "YES">
  44 + <BuildableReference
  45 + BuildableIdentifier = "primary"
  46 + BlueprintIdentifier = "66FBE57D2FDA4F0E00F515B4"
  47 + BuildableName = "Runner.app"
  48 + BlueprintName = "Runner"
  49 + ReferencedContainer = "container:Runner.xcodeproj">
  50 + </BuildableReference>
  51 + </BuildActionEntry>
  52 + </BuildActionEntries>
  53 + </BuildAction>
  54 + <TestAction
  55 + buildConfiguration = "Debug"
  56 + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
  57 + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
  58 + shouldUseLaunchSchemeArgsEnv = "YES"
  59 + shouldAutocreateTestPlan = "YES">
  60 + </TestAction>
  61 + <LaunchAction
  62 + buildConfiguration = "Debug"
  63 + selectedDebuggerIdentifier = ""
  64 + selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
  65 + launchStyle = "0"
  66 + askForAppToLaunch = "Yes"
  67 + useCustomWorkingDirectory = "NO"
  68 + ignoresPersistentStateOnLaunch = "NO"
  69 + debugDocumentVersioning = "YES"
  70 + debugServiceExtension = "internal"
  71 + allowLocationSimulation = "YES"
  72 + launchAutomaticallySubstyle = "2">
  73 + <BuildableProductRunnable
  74 + runnableDebuggingMode = "0">
  75 + <BuildableReference
  76 + BuildableIdentifier = "primary"
  77 + BlueprintIdentifier = "66FBE58A2FDA4F0F00F515B4"
  78 + BuildableName = "Runner Watch App.app"
  79 + BlueprintName = "Runner Watch App"
  80 + ReferencedContainer = "container:Runner.xcodeproj">
  81 + </BuildableReference>
  82 + </BuildableProductRunnable>
  83 + <EnvironmentVariables>
  84 + <EnvironmentVariable
  85 + key = "_XCWidgetKind"
  86 + value = ""
  87 + isEnabled = "YES">
  88 + </EnvironmentVariable>
  89 + <EnvironmentVariable
  90 + key = "_XCWidgetDefaultView"
  91 + value = "timeline"
  92 + isEnabled = "YES">
  93 + </EnvironmentVariable>
  94 + <EnvironmentVariable
  95 + key = "_XCWidgetFamily"
  96 + value = "systemMedium"
  97 + isEnabled = "YES">
  98 + </EnvironmentVariable>
  99 + </EnvironmentVariables>
  100 + </LaunchAction>
  101 + <ProfileAction
  102 + buildConfiguration = "Release"
  103 + shouldUseLaunchSchemeArgsEnv = "YES"
  104 + savedToolIdentifier = ""
  105 + useCustomWorkingDirectory = "NO"
  106 + debugDocumentVersioning = "YES">
  107 + <BuildableProductRunnable
  108 + runnableDebuggingMode = "0">
  109 + <BuildableReference
  110 + BuildableIdentifier = "primary"
  111 + BlueprintIdentifier = "661A0D322FE2AB340026EEBB"
  112 + BuildableName = "hippo-watch-extensionExtension.appex"
  113 + BlueprintName = "hippo-watch-extensionExtension"
  114 + ReferencedContainer = "container:Runner.xcodeproj">
  115 + </BuildableReference>
  116 + </BuildableProductRunnable>
  117 + </ProfileAction>
  118 + <AnalyzeAction
  119 + buildConfiguration = "Debug">
  120 + </AnalyzeAction>
  121 + <ArchiveAction
  122 + buildConfiguration = "Release"
  123 + revealArchiveInOrganizer = "YES">
  124 + </ArchiveAction>
  125 +</Scheme>
@@ -13,6 +13,6 @@ struct DFCoupleStressWidget: Widget { @@ -13,6 +13,6 @@ struct DFCoupleStressWidget: Widget {
13 } 13 }
14 .configurationDisplayName(DFWatchFaceKind.coupleStress.displayName) 14 .configurationDisplayName(DFWatchFaceKind.coupleStress.displayName)
15 .description(DFWatchFaceKind.coupleStress.description) 15 .description(DFWatchFaceKind.coupleStress.description)
16 - .supportedFamilies([.accessoryRectangular, .accessoryCircular, .accessoryCorner, .accessoryInline]) 16 + .supportedFamilies(DFWatchSupportedFamilies.all)
17 } 17 }
18 } 18 }
@@ -13,6 +13,6 @@ struct DFDefaultHomeWidget: Widget { @@ -13,6 +13,6 @@ struct DFDefaultHomeWidget: Widget {
13 } 13 }
14 .configurationDisplayName(DFWatchFaceKind.defaultHome.displayName) 14 .configurationDisplayName(DFWatchFaceKind.defaultHome.displayName)
15 .description(DFWatchFaceKind.defaultHome.description) 15 .description(DFWatchFaceKind.defaultHome.description)
16 - .supportedFamilies([.accessoryRectangular, .accessoryCircular, .accessoryCorner, .accessoryInline]) 16 + .supportedFamilies(DFWatchSupportedFamilies.all)
17 } 17 }
18 } 18 }
@@ -15,7 +15,7 @@ struct DFWatchFaceEntryView: View { @@ -15,7 +15,7 @@ struct DFWatchFaceEntryView: View {
15 switch family { 15 switch family {
16 case .accessoryInline: 16 case .accessoryInline:
17 inlineView 17 inlineView
18 - case .accessoryCircular, .accessoryCorner: 18 + case .accessoryCircular:
19 circularView 19 circularView
20 default: 20 default:
21 rectangularView 21 rectangularView
  1 +//
  2 +// DFWatchSupportedFamilies.swift
  3 +// hippo-watch-extension
  4 +//
  5 +
  6 +import WidgetKit
  7 +
  8 +enum DFWatchSupportedFamilies {
  9 + static var all: [WidgetFamily] {
  10 + return [.accessoryCircular]
  11 + }
  12 +}
@@ -13,6 +13,6 @@ struct DFSingleStressWidget: Widget { @@ -13,6 +13,6 @@ struct DFSingleStressWidget: Widget {
13 } 13 }
14 .configurationDisplayName(DFWatchFaceKind.singleStress.displayName) 14 .configurationDisplayName(DFWatchFaceKind.singleStress.displayName)
15 .description(DFWatchFaceKind.singleStress.description) 15 .description(DFWatchFaceKind.singleStress.description)
16 - .supportedFamilies([.accessoryRectangular, .accessoryCircular, .accessoryCorner, .accessoryInline]) 16 + .supportedFamilies(DFWatchSupportedFamilies.all)
17 } 17 }
18 } 18 }
@@ -62,7 +62,8 @@ import 'app_localizations_zh.dart'; @@ -62,7 +62,8 @@ import 'app_localizations_zh.dart';
62 /// be consistent with the languages listed in the AppLocalizations.supportedLocales 62 /// be consistent with the languages listed in the AppLocalizations.supportedLocales
63 /// property. 63 /// property.
64 abstract class AppLocalizations { 64 abstract class AppLocalizations {
65 - AppLocalizations(String locale) : localeName = intl.Intl.canonicalizedLocale(locale.toString()); 65 + AppLocalizations(String locale)
  66 + : localeName = intl.Intl.canonicalizedLocale(locale.toString());
66 67
67 final String localeName; 68 final String localeName;
68 69
@@ -70,7 +71,8 @@ abstract class AppLocalizations { @@ -70,7 +71,8 @@ abstract class AppLocalizations {
70 return Localizations.of<AppLocalizations>(context, AppLocalizations); 71 return Localizations.of<AppLocalizations>(context, AppLocalizations);
71 } 72 }
72 73
73 - static const LocalizationsDelegate<AppLocalizations> delegate = _AppLocalizationsDelegate(); 74 + static const LocalizationsDelegate<AppLocalizations> delegate =
  75 + _AppLocalizationsDelegate();
74 76
75 /// A list of this localizations delegate along with the default localizations 77 /// A list of this localizations delegate along with the default localizations
76 /// delegates. 78 /// delegates.
@@ -82,7 +84,8 @@ abstract class AppLocalizations { @@ -82,7 +84,8 @@ abstract class AppLocalizations {
82 /// Additional delegates can be added by appending to this list in 84 /// Additional delegates can be added by appending to this list in
83 /// MaterialApp. This list does not have to be used at all if a custom list 85 /// MaterialApp. This list does not have to be used at all if a custom list
84 /// of delegates is preferred or required. 86 /// of delegates is preferred or required.
85 - static const List<LocalizationsDelegate<dynamic>> localizationsDelegates = <LocalizationsDelegate<dynamic>>[ 87 + static const List<LocalizationsDelegate<dynamic>> localizationsDelegates =
  88 + <LocalizationsDelegate<dynamic>>[
86 delegate, 89 delegate,
87 GlobalMaterialLocalizations.delegate, 90 GlobalMaterialLocalizations.delegate,
88 GlobalCupertinoLocalizations.delegate, 91 GlobalCupertinoLocalizations.delegate,
@@ -525,7 +528,8 @@ abstract class AppLocalizations { @@ -525,7 +528,8 @@ abstract class AppLocalizations {
525 /// 528 ///
526 /// In zh, this message translates to: 529 /// In zh, this message translates to:
527 /// **'你们现在可以查看彼此的 HRV、压力与睡眠变化,并在对方疲惫时及时送上关心。'** 530 /// **'你们现在可以查看彼此的 HRV、压力与睡眠变化,并在对方疲惫时及时送上关心。'**
528 - String get youCanNowViewEachOtherSHrvStressLevelsAndSleepPatternsAndReachOutToCheckInWhenTheOtherPersonSeemsTired; 531 + String
  532 + get youCanNowViewEachOtherSHrvStressLevelsAndSleepPatternsAndReachOutToCheckInWhenTheOtherPersonSeemsTired;
529 533
530 /// No description provided for @bindPartnerTitle. 534 /// No description provided for @bindPartnerTitle.
531 /// 535 ///
@@ -1734,7 +1738,8 @@ abstract class AppLocalizations { @@ -1734,7 +1738,8 @@ abstract class AppLocalizations {
1734 String get dailyActions; 1738 String get dailyActions;
1735 } 1739 }
1736 1740
1737 -class _AppLocalizationsDelegate extends LocalizationsDelegate<AppLocalizations> { 1741 +class _AppLocalizationsDelegate
  1742 + extends LocalizationsDelegate<AppLocalizations> {
1738 const _AppLocalizationsDelegate(); 1743 const _AppLocalizationsDelegate();
1739 1744
1740 @override 1745 @override
@@ -1743,25 +1748,25 @@ class _AppLocalizationsDelegate extends LocalizationsDelegate<AppLocalizations> @@ -1743,25 +1748,25 @@ class _AppLocalizationsDelegate extends LocalizationsDelegate<AppLocalizations>
1743 } 1748 }
1744 1749
1745 @override 1750 @override
1746 - bool isSupported(Locale locale) => <String>['en', 'zh'].contains(locale.languageCode); 1751 + bool isSupported(Locale locale) =>
  1752 + <String>['en', 'zh'].contains(locale.languageCode);
1747 1753
1748 @override 1754 @override
1749 bool shouldReload(_AppLocalizationsDelegate old) => false; 1755 bool shouldReload(_AppLocalizationsDelegate old) => false;
1750 } 1756 }
1751 1757
1752 AppLocalizations lookupAppLocalizations(Locale locale) { 1758 AppLocalizations lookupAppLocalizations(Locale locale) {
1753 -  
1754 -  
1755 // Lookup logic when only language code is specified. 1759 // Lookup logic when only language code is specified.
1756 switch (locale.languageCode) { 1760 switch (locale.languageCode) {
1757 - case 'en': return AppLocalizationsEn();  
1758 - case 'zh': return AppLocalizationsZh(); 1761 + case 'en':
  1762 + return AppLocalizationsEn();
  1763 + case 'zh':
  1764 + return AppLocalizationsZh();
1759 } 1765 }
1760 1766
1761 throw FlutterError( 1767 throw FlutterError(
1762 - 'AppLocalizations.delegate failed to load unsupported locale "$locale". This is likely '  
1763 - 'an issue with the localizations generation tool. Please file an issue '  
1764 - 'on GitHub with a reproducible sample app and the gen-l10n configuration '  
1765 - 'that was used.'  
1766 - ); 1768 + 'AppLocalizations.delegate failed to load unsupported locale "$locale". This is likely '
  1769 + 'an issue with the localizations generation tool. Please file an issue '
  1770 + 'on GitHub with a reproducible sample app and the gen-l10n configuration '
  1771 + 'that was used.');
1767 } 1772 }
  1 +// ignore: unused_import
  2 +import 'package:intl/intl.dart' as intl;
1 import 'app_localizations.dart'; 3 import 'app_localizations.dart';
2 4
3 // ignore_for_file: type=lint 5 // ignore_for_file: type=lint
@@ -67,10 +69,12 @@ class AppLocalizationsEn extends AppLocalizations { @@ -67,10 +69,12 @@ class AppLocalizationsEn extends AppLocalizations {
67 String get settings => 'Settings'; 69 String get settings => 'Settings';
68 70
69 @override 71 @override
70 - String get onboardingIntroTitle => 'DoubleFeel is a health companion app built for Apple Watch'; 72 + String get onboardingIntroTitle =>
  73 + 'DoubleFeel is a health companion app built for Apple Watch';
71 74
72 @override 75 @override
73 - String get onboardingIntroBody => 'We hope to help you\n<em>notice changes in your mind and body, and help the people who love you</em> see when you are <em>tired or need support</em>'; 76 + String get onboardingIntroBody =>
  77 + 'We hope to help you\n<em>notice changes in your mind and body, and help the people who love you</em> see when you are <em>tired or need support</em>';
74 78
75 @override 79 @override
76 String get onboardingStateQuestion => 'Which of these often happens to you?'; 80 String get onboardingStateQuestion => 'Which of these often happens to you?';
@@ -82,16 +86,19 @@ class AppLocalizationsEn extends AppLocalizations { @@ -82,16 +86,19 @@ class AppLocalizationsEn extends AppLocalizations {
82 String get onboardingStateTired => 'I get tired easily'; 86 String get onboardingStateTired => 'I get tired easily';
83 87
84 @override 88 @override
85 - String get onboardingStatePoorRest => 'I wake up but still do not feel rested'; 89 + String get onboardingStatePoorRest =>
  90 + 'I wake up but still do not feel rested';
86 91
87 @override 92 @override
88 - String get onboardingStateNeedStimulants => 'I rely on cigarettes, alcohol, coffee, or other stimulants to stay alert'; 93 + String get onboardingStateNeedStimulants =>
  94 + 'I rely on cigarettes, alcohol, coffee, or other stimulants to stay alert';
89 95
90 @override 96 @override
91 String get onboardingStateNone => 'None of the above'; 97 String get onboardingStateNone => 'None of the above';
92 98
93 @override 99 @override
94 - String get onboardingStressGoalQuestion => 'What do you want to learn by understanding stress?'; 100 + String get onboardingStressGoalQuestion =>
  101 + 'What do you want to learn by understanding stress?';
95 102
96 @override 103 @override
97 String get onboardingStressGoalSource => 'Understand where stress comes from'; 104 String get onboardingStressGoalSource => 'Understand where stress comes from';
@@ -100,7 +107,8 @@ class AppLocalizationsEn extends AppLocalizations { @@ -100,7 +107,8 @@ class AppLocalizationsEn extends AppLocalizations {
100 String get onboardingStressGoalReminder => 'Get reminded when stress appears'; 107 String get onboardingStressGoalReminder => 'Get reminded when stress appears';
101 108
102 @override 109 @override
103 - String get onboardingStressGoalLovedOnes => 'Let people who care about me know my stress state'; 110 + String get onboardingStressGoalLovedOnes =>
  111 + 'Let people who care about me know my stress state';
104 112
105 @override 113 @override
106 String get onboardingStressGoalRelax => 'Understand stress and feel lighter'; 114 String get onboardingStressGoalRelax => 'Understand stress and feel lighter';
@@ -109,7 +117,8 @@ class AppLocalizationsEn extends AppLocalizations { @@ -109,7 +117,8 @@ class AppLocalizationsEn extends AppLocalizations {
109 String get onboardingStressGoalBodyTalk => 'Communicate better with my body'; 117 String get onboardingStressGoalBodyTalk => 'Communicate better with my body';
110 118
111 @override 119 @override
112 - String get onboardingReliefQuestion => 'Which methods do you think can ease stress?'; 120 + String get onboardingReliefQuestion =>
  121 + 'Which methods do you think can ease stress?';
113 122
114 @override 123 @override
115 String get onboardingReliefSleep => 'Regular sleep'; 124 String get onboardingReliefSleep => 'Regular sleep';
@@ -133,7 +142,8 @@ class AppLocalizationsEn extends AppLocalizations { @@ -133,7 +142,8 @@ class AppLocalizationsEn extends AppLocalizations {
133 String get onboardingKeyDataTitle => 'Did you know?'; 142 String get onboardingKeyDataTitle => 'Did you know?';
134 143
135 @override 144 @override
136 - String get onboardingKeyDataSubtitle => 'Everyone has a magical and important body metric that can help us:'; 145 + String get onboardingKeyDataSubtitle =>
  146 + 'Everyone has a magical and important body metric that can help us:';
137 147
138 @override 148 @override
139 String get onboardingKeyDataStress => 'Monitor stress'; 149 String get onboardingKeyDataStress => 'Monitor stress';
@@ -148,7 +158,8 @@ class AppLocalizationsEn extends AppLocalizations { @@ -148,7 +158,8 @@ class AppLocalizationsEn extends AppLocalizations {
148 String get onboardingKeyDataHabits => 'Build healthy habits'; 158 String get onboardingKeyDataHabits => 'Build healthy habits';
149 159
150 @override 160 @override
151 - String get onboardingKeyDataLovedOnes => 'Help important people care about your state in time'; 161 + String get onboardingKeyDataLovedOnes =>
  162 + 'Help important people care about your state in time';
152 163
153 @override 164 @override
154 String get onboardingTellMeWhatItIs => 'Tell me what it is!'; 165 String get onboardingTellMeWhatItIs => 'Tell me what it is!';
@@ -157,16 +168,19 @@ class AppLocalizationsEn extends AppLocalizations { @@ -157,16 +168,19 @@ class AppLocalizationsEn extends AppLocalizations {
157 String get onboardingHrvTitle => 'It is HRV, heart rate variability'; 168 String get onboardingHrvTitle => 'It is HRV, heart rate variability';
158 169
159 @override 170 @override
160 - String get onboardingHrvSubtitle => 'It helps us measure overall stress and health'; 171 + String get onboardingHrvSubtitle =>
  172 + 'It helps us measure overall stress and health';
161 173
162 @override 174 @override
163 - String get onboardingHrvDescription => 'Heart rate variability (HRV) is the tiny variation in time between heartbeats. It reflects autonomic nervous system activity and how the body responds to stress.'; 175 + String get onboardingHrvDescription =>
  176 + 'Heart rate variability (HRV) is the tiny variation in time between heartbeats. It reflects autonomic nervous system activity and how the body responds to stress.';
164 177
165 @override 178 @override
166 String get onboardingTellMeMore => 'Tell me more'; 179 String get onboardingTellMeMore => 'Tell me more';
167 180
168 @override 181 @override
169 - String get onboardingResearchTitle => 'Many studies show that HRV changes are closely related to how our body and mind feel'; 182 + String get onboardingResearchTitle =>
  183 + 'Many studies show that HRV changes are closely related to how our body and mind feel';
170 184
171 @override 185 @override
172 String get onboardingResearchFatigue => 'Physical fatigue'; 186 String get onboardingResearchFatigue => 'Physical fatigue';
@@ -184,25 +198,30 @@ class AppLocalizationsEn extends AppLocalizations { @@ -184,25 +198,30 @@ class AppLocalizationsEn extends AppLocalizations {
184 String get onboardingHealthPermissionTitle => 'Allow health data access'; 198 String get onboardingHealthPermissionTitle => 'Allow health data access';
185 199
186 @override 200 @override
187 - String get onboardingHealthPermissionBody => 'DoubleFeel needs connected wearable health data to send reminders, count stress moments, and provide suggestions.'; 201 + String get onboardingHealthPermissionBody =>
  202 + 'DoubleFeel needs connected wearable health data to send reminders, count stress moments, and provide suggestions.';
188 203
189 @override 204 @override
190 - String get onboardingHealthPermissionPrivacy => 'Your health data is stored locally. We do not upload any related data.'; 205 + String get onboardingHealthPermissionPrivacy =>
  206 + 'Your health data is stored locally. We do not upload any related data.';
191 207
192 @override 208 @override
193 String get onboardingNotificationTitle => 'Turn on notifications'; 209 String get onboardingNotificationTitle => 'Turn on notifications';
194 210
195 @override 211 @override
196 - String get onboardingNotificationSubtitle => 'Learn about every body change in time'; 212 + String get onboardingNotificationSubtitle =>
  213 + 'Learn about every body change in time';
197 214
198 @override 215 @override
199 - String get onboardingNotificationBody => 'After Apple Watch data updates, we can remind you in time and help you act to improve your stress state.'; 216 + String get onboardingNotificationBody =>
  217 + 'After Apple Watch data updates, we can remind you in time and help you act to improve your stress state.';
200 218
201 @override 219 @override
202 String get onboardingMemberTitle => 'Get an annual membership offer'; 220 String get onboardingMemberTitle => 'Get an annual membership offer';
203 221
204 @override 222 @override
205 - String get onboardingMemberBody => 'Start your pressure alert and health companion journey, so love and care are always present.'; 223 + String get onboardingMemberBody =>
  224 + 'Start your pressure alert and health companion journey, so love and care are always present.';
206 225
207 @override 226 @override
208 String get onboardingMemberOriginalPrice => 'Original ¥72.00/year'; 227 String get onboardingMemberOriginalPrice => 'Original ¥72.00/year';
@@ -217,13 +236,16 @@ class AppLocalizationsEn extends AppLocalizations { @@ -217,13 +236,16 @@ class AppLocalizationsEn extends AppLocalizations {
217 String get onboardingMemberAllOptions => 'View all purchase options'; 236 String get onboardingMemberAllOptions => 'View all purchase options';
218 237
219 @override 238 @override
220 - String get healthCompanionIsNowAvailable => 'Health Companion is now available'; 239 + String get healthCompanionIsNowAvailable =>
  240 + 'Health Companion is now available';
221 241
222 @override 242 @override
223 - String get youCanNowViewEachOtherSHrvStressLevelsAndSleepPatternsAndReachOutToCheckInWhenTheOtherPersonSeemsTired => 'You can now view each other\'s HRV, stress levels, and sleep patterns, and reach out to check in when the other person seems tired.'; 243 + String get youCanNowViewEachOtherSHrvStressLevelsAndSleepPatternsAndReachOutToCheckInWhenTheOtherPersonSeemsTired =>
  244 + 'You can now view each other\'s HRV, stress levels, and sleep patterns, and reach out to check in when the other person seems tired.';
224 245
225 @override 246 @override
226 - String get bindPartnerTitle => 'Add a Close Contact\nOne more person to care about your health'; 247 + String get bindPartnerTitle =>
  248 + 'Add a Close Contact\nOne more person to care about your health';
227 249
228 @override 250 @override
229 String get bindPartnerMyId => 'My ID'; 251 String get bindPartnerMyId => 'My ID';
@@ -262,7 +284,8 @@ class AppLocalizationsEn extends AppLocalizations { @@ -262,7 +284,8 @@ class AppLocalizationsEn extends AppLocalizations {
262 String get onboardingResearchGoodSleep => 'Good Sleep'; 284 String get onboardingResearchGoodSleep => 'Good Sleep';
263 285
264 @override 286 @override
265 - String get loginSlogan => 'Start your pressure alert and health companion journey\nso love and care are always present'; 287 + String get loginSlogan =>
  288 + 'Start your pressure alert and health companion journey\nso love and care are always present';
266 289
267 @override 290 @override
268 String get loginWithPhone => 'Sign in with Phone'; 291 String get loginWithPhone => 'Sign in with Phone';
@@ -312,13 +335,15 @@ class AppLocalizationsEn extends AppLocalizations { @@ -312,13 +335,15 @@ class AppLocalizationsEn extends AppLocalizations {
312 String get phoneLoginCodeHint => 'Enter verification code'; 335 String get phoneLoginCodeHint => 'Enter verification code';
313 336
314 @override 337 @override
315 - String get phoneLoginAutoRegisterHint => 'Unregistered numbers will be registered automatically'; 338 + String get phoneLoginAutoRegisterHint =>
  339 + 'Unregistered numbers will be registered automatically';
316 340
317 @override 341 @override
318 String get phoneLoginLoggingIn => 'Signing in...'; 342 String get phoneLoginLoggingIn => 'Signing in...';
319 343
320 @override 344 @override
321 - String get loginAgreeToTermsToast => 'Please read and agree to the Terms of Service and Privacy Policy first'; 345 + String get loginAgreeToTermsToast =>
  346 + 'Please read and agree to the Terms of Service and Privacy Policy first';
322 347
323 @override 348 @override
324 String get phoneLoginInvalidPhone => 'Invalid phone number'; 349 String get phoneLoginInvalidPhone => 'Invalid phone number';
@@ -330,10 +355,12 @@ class AppLocalizationsEn extends AppLocalizations { @@ -330,10 +355,12 @@ class AppLocalizationsEn extends AppLocalizations {
330 String get phoneLoginInvalidCode => 'Invalid verification code'; 355 String get phoneLoginInvalidCode => 'Invalid verification code';
331 356
332 @override 357 @override
333 - String get todayHealthDataAuthTitle => 'Unable to access heart rate health data'; 358 + String get todayHealthDataAuthTitle =>
  359 + 'Unable to access heart rate health data';
334 360
335 @override 361 @override
336 - String get todayHealthDataAuthDescription => 'DoubleFeel needs permission to access your health data to provide stress reminders, real-time stress statistics, and health suggestions. Otherwise, some app features may not work properly. Your health data is stored locally only and will not be uploaded to any server.'; 362 + String get todayHealthDataAuthDescription =>
  363 + 'DoubleFeel needs permission to access your health data to provide stress reminders, real-time stress statistics, and health suggestions. Otherwise, some app features may not work properly. Your health data is stored locally only and will not be uploaded to any server.';
337 364
338 @override 365 @override
339 String get todayHealthDataAuthAction => 'Authorize health data access'; 366 String get todayHealthDataAuthAction => 'Authorize health data access';
@@ -354,19 +381,24 @@ class AppLocalizationsEn extends AppLocalizations { @@ -354,19 +381,24 @@ class AppLocalizationsEn extends AppLocalizations {
354 String get todayFaqLinkNoData => 'What if the app or watch face has no data?'; 381 String get todayFaqLinkNoData => 'What if the app or watch face has no data?';
355 382
356 @override 383 @override
357 - String get todayFaqLinkHrvRealtimeUpdate => 'How can HRV data update in real time?'; 384 + String get todayFaqLinkHrvRealtimeUpdate =>
  385 + 'How can HRV data update in real time?';
358 386
359 @override 387 @override
360 - String get todayFaqLinkWatchNoStatusNotification => 'Why can\'t my watch receive status notifications?'; 388 + String get todayFaqLinkWatchNoStatusNotification =>
  389 + 'Why can\'t my watch receive status notifications?';
361 390
362 @override 391 @override
363 - String get todayFaqLinkWatchNoStatusAndInteractionNotification => 'Why can\'t my watch receive status and interaction notifications?'; 392 + String get todayFaqLinkWatchNoStatusAndInteractionNotification =>
  393 + 'Why can\'t my watch receive status and interaction notifications?';
364 394
365 @override 395 @override
366 - String get todayFaqLinkWatchFaceDataDelay => 'Why is watch face data delayed or not updating?'; 396 + String get todayFaqLinkWatchFaceDataDelay =>
  397 + 'Why is watch face data delayed or not updating?';
367 398
368 @override 399 @override
369 - String get todayFaqLinkWatchFaceBlackScreen => 'Why does the watch face turn black?'; 400 + String get todayFaqLinkWatchFaceBlackScreen =>
  401 + 'Why does the watch face turn black?';
370 402
371 @override 403 @override
372 String get todayStressStatusTitle => 'Overall stress status'; 404 String get todayStressStatusTitle => 'Overall stress status';
@@ -393,136 +425,176 @@ class AppLocalizationsEn extends AppLocalizations { @@ -393,136 +425,176 @@ class AppLocalizationsEn extends AppLocalizations {
393 String get todayStressStatusInsufficientData => 'Insufficient data'; 425 String get todayStressStatusInsufficientData => 'Insufficient data';
394 426
395 @override 427 @override
396 - String get todayStressStatusOverloadDescription => 'Your current HRV is much lower than your long-term average, which may indicate fatigue, high stress, or insufficient recovery. Rest is recommended.'; 428 + String get todayStressStatusOverloadDescription =>
  429 + 'Your current HRV is much lower than your long-term average, which may indicate fatigue, high stress, or insufficient recovery. Rest is recommended.';
397 430
398 @override 431 @override
399 - String get todayStressStatusCautionDescription => 'Your current HRV is below the normal range, and your body may be accumulating stress. Pay attention to rest and recovery.'; 432 + String get todayStressStatusCautionDescription =>
  433 + 'Your current HRV is below the normal range, and your body may be accumulating stress. Pay attention to rest and recovery.';
400 434
401 @override 435 @override
402 - String get todayStressStatusNormalDescription => 'Your current body state is within your normal fluctuation range.'; 436 + String get todayStressStatusNormalDescription =>
  437 + 'Your current body state is within your normal fluctuation range.';
403 438
404 @override 439 @override
405 - String get todayStressStatusExcellentDescription => 'Your current HRV is higher than your recent average, indicating better recovery and overall state.'; 440 + String get todayStressStatusExcellentDescription =>
  441 + 'Your current HRV is higher than your recent average, indicating better recovery and overall state.';
406 442
407 @override 443 @override
408 - String get todayStressStatusInsufficientDataDescription => 'There is not enough available data to accurately assess your stress state yet.'; 444 + String get todayStressStatusInsufficientDataDescription =>
  445 + 'There is not enough available data to accurately assess your stress state yet.';
409 446
410 @override 447 @override
411 - String get todayHrvMeasurementIntro => 'Apple Watch measures HRV every 2-5 hours by default. If you want to measure it manually right now, follow these steps:'; 448 + String get todayHrvMeasurementIntro =>
  449 + 'Apple Watch measures HRV every 2-5 hours by default. If you want to measure it manually right now, follow these steps:';
412 450
413 @override 451 @override
414 - String get todayHrvMeasurementStep1 => '1. Wear your Apple Watch snugly, sit down, and stay calm'; 452 + String get todayHrvMeasurementStep1 =>
  453 + '1. Wear your Apple Watch snugly, sit down, and stay calm';
415 454
416 @override 455 @override
417 - String get todayHrvMeasurementStep2 => '2. Open Mindfulness on Apple Watch and start Breathe'; 456 + String get todayHrvMeasurementStep2 =>
  457 + '2. Open Mindfulness on Apple Watch and start Breathe';
418 458
419 @override 459 @override
420 - String get todayHrvMeasurementStep3 => '3. Keep breathing steadily and wait 1-3 minutes'; 460 + String get todayHrvMeasurementStep3 =>
  461 + '3. Keep breathing steadily and wait 1-3 minutes';
421 462
422 @override 463 @override
423 - String get todayHrvMeasurementStep4 => '4. After breathing is complete, lock and unlock your iPhone once'; 464 + String get todayHrvMeasurementStep4 =>
  465 + '4. After breathing is complete, lock and unlock your iPhone once';
424 466
425 @override 467 @override
426 - String get todayHrvMeasurementStep5 => '5. Wait about one minute. StressWatch will receive and display your data'; 468 + String get todayHrvMeasurementStep5 =>
  469 + '5. Wait about one minute. StressWatch will receive and display your data';
427 470
428 @override 471 @override
429 - String get todayHrvMeasurementHint => 'Tip: Data comes from Apple Watch. After measurement, there may be delays or data may not sync immediately. If this happens, measure again and wait for the data to be read.'; 472 + String get todayHrvMeasurementHint =>
  473 + 'Tip: Data comes from Apple Watch. After measurement, there may be delays or data may not sync immediately. If this happens, measure again and wait for the data to be read.';
430 474
431 @override 475 @override
432 - String get todayHrvMeasurementWarning => 'Note: Health permissions must be enabled, and Low Power Mode must be turned off.'; 476 + String get todayHrvMeasurementWarning =>
  477 + 'Note: Health permissions must be enabled, and Low Power Mode must be turned off.';
433 478
434 @override 479 @override
435 String get todayStressStatusWhatTitle => 'What is overall stress status?'; 480 String get todayStressStatusWhatTitle => 'What is overall stress status?';
436 481
437 @override 482 @override
438 - String get todayStressStatusWhatDescription1 => 'DoubleFeel combines your HRV (heart rate variability), resting heart rate, and body-state changes from the past 30 days to assess your overall stress level.'; 483 + String get todayStressStatusWhatDescription1 =>
  484 + 'DoubleFeel combines your HRV (heart rate variability), resting heart rate, and body-state changes from the past 30 days to assess your overall stress level.';
439 485
440 @override 486 @override
441 - String get todayStressStatusWhatDescription2 => 'Because HRV fluctuates with emotions, exercise, sleep, and fatigue, a single reading has limited value. We recommend focusing on your overall stress status across the day, which is more stable and useful. It helps you understand your body state and helps close contacts notice changes in time.'; 487 + String get todayStressStatusWhatDescription2 =>
  488 + 'Because HRV fluctuates with emotions, exercise, sleep, and fatigue, a single reading has limited value. We recommend focusing on your overall stress status across the day, which is more stable and useful. It helps you understand your body state and helps close contacts notice changes in time.';
442 489
443 @override 490 @override
444 - String get todayStressStatusWhyHrvTitle => 'Why use HRV (heart rate variability)?'; 491 + String get todayStressStatusWhyHrvTitle =>
  492 + 'Why use HRV (heart rate variability)?';
445 493
446 @override 494 @override
447 - String get todayStressStatusWhyHrvDescription => 'HRV is an important metric for measuring body stress and recovery capacity.'; 495 + String get todayStressStatusWhyHrvDescription =>
  496 + 'HRV is an important metric for measuring body stress and recovery capacity.';
448 497
449 @override 498 @override
450 String get todayStressStatusUsually => 'In general:'; 499 String get todayStressStatusUsually => 'In general:';
451 500
452 @override 501 @override
453 - String get todayStressStatusHrvHigher => '· Higher HRV usually means better recovery'; 502 + String get todayStressStatusHrvHigher =>
  503 + '· Higher HRV usually means better recovery';
454 504
455 @override 505 @override
456 - String get todayStressStatusHrvLower => '· Lower HRV may indicate fatigue, stress, or insufficient sleep'; 506 + String get todayStressStatusHrvLower =>
  507 + '· Lower HRV may indicate fatigue, stress, or insufficient sleep';
457 508
458 @override 509 @override
459 - String get todayStressStatusHrvChangesFast => '· HRV changes quickly, making it useful for short-term body-state changes.'; 510 + String get todayStressStatusHrvChangesFast =>
  511 + '· HRV changes quickly, making it useful for short-term body-state changes.';
460 512
461 @override 513 @override
462 - String get todayStressStatusAppWatchDifferenceTitle => 'How are stress statuses on the phone app and Apple Watch different?'; 514 + String get todayStressStatusAppWatchDifferenceTitle =>
  515 + 'How are stress statuses on the phone app and Apple Watch different?';
463 516
464 @override 517 @override
465 - String get todayStressStatusAppWatchDifferenceApp => 'The phone app home page shows the day\'s overall stress status, combining HRV, resting heart rate, and overall trends.'; 518 + String get todayStressStatusAppWatchDifferenceApp =>
  519 + 'The phone app home page shows the day\'s overall stress status, combining HRV, resting heart rate, and overall trends.';
466 520
467 @override 521 @override
468 - String get todayStressStatusAppWatchDifferenceWatch => 'Apple Watch shows the most recent real-time stress status, which is better for quickly checking your current body changes.'; 522 + String get todayStressStatusAppWatchDifferenceWatch =>
  523 + 'Apple Watch shows the most recent real-time stress status, which is better for quickly checking your current body changes.';
469 524
470 @override 525 @override
471 - String get todayStressStatusWaitingDataTitle => 'Why does Waiting for data appear?'; 526 + String get todayStressStatusWaitingDataTitle =>
  527 + 'Why does Waiting for data appear?';
472 528
473 @override 529 @override
474 - String get todayStressStatusWaitingDataDescription1 => 'Waiting for data means the current amount of collected data is not enough to generate a reliable stress assessment.'; 530 + String get todayStressStatusWaitingDataDescription1 =>
  531 + 'Waiting for data means the current amount of collected data is not enough to generate a reliable stress assessment.';
475 532
476 @override 533 @override
477 - String get todayStressStatusWaitingDataDescription2 => 'Please keep wearing your Apple Watch and wait for the system to collect data automatically.'; 534 + String get todayStressStatusWaitingDataDescription2 =>
  535 + 'Please keep wearing your Apple Watch and wait for the system to collect data automatically.';
478 536
479 @override 537 @override
480 - String get todayStressStatusWaitingDataReasonsIntro => 'Possible reasons include:'; 538 + String get todayStressStatusWaitingDataReasonsIntro =>
  539 + 'Possible reasons include:';
481 540
482 @override 541 @override
483 String get todayStressStatusWaitingDataReason1 => '1. Not enough HRV samples'; 542 String get todayStressStatusWaitingDataReason1 => '1. Not enough HRV samples';
484 543
485 @override 544 @override
486 - String get todayStressStatusWaitingDataReason2 => '2. Missing resting heart rate data'; 545 + String get todayStressStatusWaitingDataReason2 =>
  546 + '2. Missing resting heart rate data';
487 547
488 @override 548 @override
489 - String get todayStressStatusWaitingDataReason3 => '3. Apple Watch has not been worn long enough'; 549 + String get todayStressStatusWaitingDataReason3 =>
  550 + '3. Apple Watch has not been worn long enough';
490 551
491 @override 552 @override
492 - String get todayStressStatusWaitingDataReason4 => '4. Apple Health permissions are not enabled'; 553 + String get todayStressStatusWaitingDataReason4 =>
  554 + '4. Apple Health permissions are not enabled';
493 555
494 @override 556 @override
495 - String get todayHrvPrincipleHowMeasureTitle => 'How does DoubleFeel measure stress status?'; 557 + String get todayHrvPrincipleHowMeasureTitle =>
  558 + 'How does DoubleFeel measure stress status?';
496 559
497 @override 560 @override
498 - String get todayHrvPrincipleHowMeasureDescription1 => 'When you wear Apple Watch normally, the system automatically collects your heart rate data and syncs it to Apple Health.'; 561 + String get todayHrvPrincipleHowMeasureDescription1 =>
  562 + 'When you wear Apple Watch normally, the system automatically collects your heart rate data and syncs it to Apple Health.';
499 563
500 @override 564 @override
501 - String get todayHrvPrincipleHowMeasureDescription2 => 'DoubleFeel calculates HRV (heart rate variability) indicators based on this data to assess your body stress and recovery state.'; 565 + String get todayHrvPrincipleHowMeasureDescription2 =>
  566 + 'DoubleFeel calculates HRV (heart rate variability) indicators based on this data to assess your body stress and recovery state.';
502 567
503 @override 568 @override
504 - String get todayHrvPrincipleHowMeasureDescription3 => 'HRV is sensitive to stress, fatigue, sleep, emotions, and recovery, so it helps us notice body-state changes earlier.'; 569 + String get todayHrvPrincipleHowMeasureDescription3 =>
  570 + 'HRV is sensitive to stress, fatigue, sleep, emotions, and recovery, so it helps us notice body-state changes earlier.';
505 571
506 @override 572 @override
507 - String get todayHrvPrincipleHowMeasureDescription4 => 'To make results more accurate, DoubleFeel compares your current HRV state with your own 30-day average instead of comparing it directly with other people.'; 573 + String get todayHrvPrincipleHowMeasureDescription4 =>
  574 + 'To make results more accurate, DoubleFeel compares your current HRV state with your own 30-day average instead of comparing it directly with other people.';
508 575
509 @override 576 @override
510 String get todayRealtimeStressWhatTitle => 'What is real-time stress?'; 577 String get todayRealtimeStressWhatTitle => 'What is real-time stress?';
511 578
512 @override 579 @override
513 - String get todayRealtimeStressWhatDescription1 => 'Real-time stress is a body stress indicator dynamically generated by DoubleFeel based on your current HRV, heart rate state, and changes in your personal history.'; 580 + String get todayRealtimeStressWhatDescription1 =>
  581 + 'Real-time stress is a body stress indicator dynamically generated by DoubleFeel based on your current HRV, heart rate state, and changes in your personal history.';
514 582
515 @override 583 @override
516 - String get todayRealtimeStressWhatDescription2 => 'A higher stress value means your body state is deviating more from your usual baseline and may reflect fatigue, insufficient recovery, or high stress.'; 584 + String get todayRealtimeStressWhatDescription2 =>
  585 + 'A higher stress value means your body state is deviating more from your usual baseline and may reflect fatigue, insufficient recovery, or high stress.';
517 586
518 @override 587 @override
519 - String get todayRealtimeStressWhatDescription3 => 'It helps you notice body changes faster and adjust rest, exercise, and daily rhythm in time.'; 588 + String get todayRealtimeStressWhatDescription3 =>
  589 + 'It helps you notice body changes faster and adjust rest, exercise, and daily rhythm in time.';
520 590
521 @override 591 @override
522 - String get todayRealtimeStressDivisionTitle => 'How is real-time stress divided?'; 592 + String get todayRealtimeStressDivisionTitle =>
  593 + 'How is real-time stress divided?';
523 594
524 @override 595 @override
525 - String get todayRealtimeStressDivisionIntro => 'Real-time stress is shown as a percentage:'; 596 + String get todayRealtimeStressDivisionIntro =>
  597 + 'Real-time stress is shown as a percentage:';
526 598
527 @override 599 @override
528 String get todayRealtimeStressExcellentRange => 'Excellent: 1%-20%'; 600 String get todayRealtimeStressExcellentRange => 'Excellent: 1%-20%';
@@ -537,79 +609,103 @@ class AppLocalizationsEn extends AppLocalizations { @@ -537,79 +609,103 @@ class AppLocalizationsEn extends AppLocalizations {
537 String get todayRealtimeStressOverloadRange => 'Stress overload: 81%-100%'; 609 String get todayRealtimeStressOverloadRange => 'Stress overload: 81%-100%';
538 610
539 @override 611 @override
540 - String get todayRealtimeStressExcellentDescription => 'Your recovery state is good and you are generally relaxed.'; 612 + String get todayRealtimeStressExcellentDescription =>
  613 + 'Your recovery state is good and you are generally relaxed.';
541 614
542 @override 615 @override
543 - String get todayRealtimeStressNormalDescription => 'Your body is within the normal fluctuation range.'; 616 + String get todayRealtimeStressNormalDescription =>
  617 + 'Your body is within the normal fluctuation range.';
544 618
545 @override 619 @override
546 - String get todayRealtimeStressCautionDescription => 'Your body may be accumulating stress and needs proper rest and recovery.'; 620 + String get todayRealtimeStressCautionDescription =>
  621 + 'Your body may be accumulating stress and needs proper rest and recovery.';
547 622
548 @override 623 @override
549 - String get todayRealtimeStressOverloadDescription => 'Your body stress is clearly high. Reduce load and pay attention to sleep and recovery.'; 624 + String get todayRealtimeStressOverloadDescription =>
  625 + 'Your body stress is clearly high. Reduce load and pay attention to sleep and recovery.';
550 626
551 @override 627 @override
552 - String get todayRealtimeStressDivisionBaseline => 'These ranges are adjusted dynamically based on your personal baseline and should not be directly compared between users.'; 628 + String get todayRealtimeStressDivisionBaseline =>
  629 + 'These ranges are adjusted dynamically based on your personal baseline and should not be directly compared between users.';
553 630
554 @override 631 @override
555 - String get todayRealtimeStressDivisionAwake => 'Real-time stress mainly reflects body stress changes while awake.'; 632 + String get todayRealtimeStressDivisionAwake =>
  633 + 'Real-time stress mainly reflects body stress changes while awake.';
556 634
557 @override 635 @override
558 - String get todayRealtimeStressLowBetterTitle => 'Is lower real-time stress always better?'; 636 + String get todayRealtimeStressLowBetterTitle =>
  637 + 'Is lower real-time stress always better?';
559 638
560 @override 639 @override
561 String get todayRealtimeStressLowBetterNo => 'Not necessarily.'; 640 String get todayRealtimeStressLowBetterNo => 'Not necessarily.';
562 641
563 @override 642 @override
564 - String get todayRealtimeStressLowBetterType => 'Body stress can be normal or abnormal.'; 643 + String get todayRealtimeStressLowBetterType =>
  644 + 'Body stress can be normal or abnormal.';
565 645
566 @override 646 @override
567 - String get todayRealtimeStressLowBetterExample => 'For example, real-time stress rising briefly during or after exercise is a normal recovery response. It can also rise temporarily during focused work or emotional excitement, which are normal body adjustments.'; 647 + String get todayRealtimeStressLowBetterExample =>
  648 + 'For example, real-time stress rising briefly during or after exercise is a normal recovery response. It can also rise temporarily during focused work or emotional excitement, which are normal body adjustments.';
568 649
569 @override 650 @override
570 - String get todayRealtimeStressLowBetterHighStress => 'But if stress remains high while resting, sitting for a long time, or after poor sleep, it may indicate physical fatigue, mental stress, insufficient sleep recovery, incomplete exercise recovery, too much caffeine, alcohol, stimulants, or possible discomfort.'; 651 + String get todayRealtimeStressLowBetterHighStress =>
  652 + 'But if stress remains high while resting, sitting for a long time, or after poor sleep, it may indicate physical fatigue, mental stress, insufficient sleep recovery, incomplete exercise recovery, too much caffeine, alcohol, stimulants, or possible discomfort.';
571 653
572 @override 654 @override
573 - String get todayRealtimeStressLowBetterTrend => 'DoubleFeel focuses more on your long-term trend than on a single fluctuation.'; 655 + String get todayRealtimeStressLowBetterTrend =>
  656 + 'DoubleFeel focuses more on your long-term trend than on a single fluctuation.';
574 657
575 @override 658 @override
576 - String get todayRealtimeStressScenarioTitle => 'When should HRV and real-time stress be used?'; 659 + String get todayRealtimeStressScenarioTitle =>
  660 + 'When should HRV and real-time stress be used?';
577 661
578 @override 662 @override
579 - String get todayRealtimeStressScenarioHrvDefault => 'With Apple Watch default settings, HRV updates every 2-5 hours.'; 663 + String get todayRealtimeStressScenarioHrvDefault =>
  664 + 'With Apple Watch default settings, HRV updates every 2-5 hours.';
580 665
581 @override 666 @override
582 - String get todayRealtimeStressScenarioRegionLimit => 'In some regions, Apple Watch breathing features may be limited, which can affect HRV update frequency. Turning on breathing features may also consume more battery.'; 667 + String get todayRealtimeStressScenarioRegionLimit =>
  668 + 'In some regions, Apple Watch breathing features may be limited, which can affect HRV update frequency. Turning on breathing features may also consume more battery.';
583 669
584 @override 670 @override
585 - String get todayRealtimeStressScenarioIntro => 'To address the long interval between HRV updates, DoubleFeel designed real-time stress:'; 671 + String get todayRealtimeStressScenarioIntro =>
  672 + 'To address the long interval between HRV updates, DoubleFeel designed real-time stress:';
586 673
587 @override 674 @override
588 - String get todayRealtimeStressScenarioUpdateEvery6Min => '· Real-time stress updates every 6 minutes'; 675 + String get todayRealtimeStressScenarioUpdateEvery6Min =>
  676 + '· Real-time stress updates every 6 minutes';
589 677
590 @override 678 @override
591 - String get todayRealtimeStressScenarioTimely => '· It can reflect body-state changes more promptly'; 679 + String get todayRealtimeStressScenarioTimely =>
  680 + '· It can reflect body-state changes more promptly';
592 681
593 @override 682 @override
594 - String get todayRealtimeStressScenarioConsistentTrend => '· In most cases, the real-time stress trend is consistent with the HRV trend'; 683 + String get todayRealtimeStressScenarioConsistentTrend =>
  684 + '· In most cases, the real-time stress trend is consistent with the HRV trend';
595 685
596 @override 686 @override
597 - String get todayRealtimeStressScenarioSummary => 'This lets users see long-term HRV trends while also using real-time stress as a short-term body-state reference.'; 687 + String get todayRealtimeStressScenarioSummary =>
  688 + 'This lets users see long-term HRV trends while also using real-time stress as a short-term body-state reference.';
598 689
599 @override 690 @override
600 - String get todayFaqNoDataTitle => 'What if the app or watch face has no data?'; 691 + String get todayFaqNoDataTitle =>
  692 + 'What if the app or watch face has no data?';
601 693
602 @override 694 @override
603 - String get todayFaqNoDataDescription1 => '1. Confirm that Apple Watch is on watchOS 10.0 or above and iPhone is on iOS 14 or above. You can check system versions in About.'; 695 + String get todayFaqNoDataDescription1 =>
  696 + '1. Confirm that Apple Watch is on watchOS 10.0 or above and iPhone is on iOS 14 or above. You can check system versions in About.';
604 697
605 @override 698 @override
606 - String get todayFaqNoDataDescription2 => '2. Confirm all permissions are enabled: iPhone Health > Sharing > Apps > DoubleFeel > Turn On All Permissions.'; 699 + String get todayFaqNoDataDescription2 =>
  700 + '2. Confirm all permissions are enabled: iPhone Health > Sharing > Apps > DoubleFeel > Turn On All Permissions.';
607 701
608 @override 702 @override
609 - String get todayFaqNoDataDescription3 => '3. Confirm the device is not in Low Power Mode, low battery, or worn too loosely, as these can affect data collection.'; 703 + String get todayFaqNoDataDescription3 =>
  704 + '3. Confirm the device is not in Low Power Mode, low battery, or worn too loosely, as these can affect data collection.';
610 705
611 @override 706 @override
612 - String get todayFaqContactPrefix => 'If everything above is correct, you can '; 707 + String get todayFaqContactPrefix =>
  708 + 'If everything above is correct, you can ';
613 709
614 @override 710 @override
615 String get todayFaqContactAction => 'contact us'; 711 String get todayFaqContactAction => 'contact us';
@@ -618,70 +714,90 @@ class AppLocalizationsEn extends AppLocalizations { @@ -618,70 +714,90 @@ class AppLocalizationsEn extends AppLocalizations {
618 String get todayFaqContactSuffix => '.'; 714 String get todayFaqContactSuffix => '.';
619 715
620 @override 716 @override
621 - String get todayFaqWatchNoNotificationTitle => 'Watch cannot receive status notifications?'; 717 + String get todayFaqWatchNoNotificationTitle =>
  718 + 'Watch cannot receive status notifications?';
622 719
623 @override 720 @override
624 - String get todayFaqWatchNoNotificationDescription1 => 'Apple Watch and iPhone notifications have priority rules: when your iPhone is unlocked and the screen is on, notifications only appear on the phone and will not appear on the watch.'; 721 + String get todayFaqWatchNoNotificationDescription1 =>
  722 + 'Apple Watch and iPhone notifications have priority rules: when your iPhone is unlocked and the screen is on, notifications only appear on the phone and will not appear on the watch.';
625 723
626 @override 724 @override
627 - String get todayFaqWatchNoNotificationDescription2 => 'If stress data displays and updates normally but your watch does not receive notifications, try the following:'; 725 + String get todayFaqWatchNoNotificationDescription2 =>
  726 + 'If stress data displays and updates normally but your watch does not receive notifications, try the following:';
628 727
629 @override 728 @override
630 - String get todayFaqWatchNoNotificationCheckPhoneNotification => '1. Check whether iPhone notifications are enabled (Settings > DoubleFeel > Notifications).'; 729 + String get todayFaqWatchNoNotificationCheckPhoneNotification =>
  730 + '1. Check whether iPhone notifications are enabled (Settings > DoubleFeel > Notifications).';
631 731
632 @override 732 @override
633 - String get todayFaqWatchNoNotificationCheckPhoneBackgroundRefresh => '2. Check whether iPhone Background App Refresh is enabled (Settings > DoubleFeel > Background App Refresh).'; 733 + String get todayFaqWatchNoNotificationCheckPhoneBackgroundRefresh =>
  734 + '2. Check whether iPhone Background App Refresh is enabled (Settings > DoubleFeel > Background App Refresh).';
634 735
635 @override 736 @override
636 - String get todayFaqWatchNoNotificationCheckWatchBackgroundRefresh => '3. Check whether Apple Watch Background App Refresh is enabled (Settings > General > Background App Refresh, and make sure DoubleFeel is enabled).'; 737 + String get todayFaqWatchNoNotificationCheckWatchBackgroundRefresh =>
  738 + '3. Check whether Apple Watch Background App Refresh is enabled (Settings > General > Background App Refresh, and make sure DoubleFeel is enabled).';
637 739
638 @override 740 @override
639 - String get todayFaqWatchNoNotificationCheckModes => '4. Make sure Low Power, Focus, Do Not Disturb, Theater, Sleep, and similar modes are off.'; 741 + String get todayFaqWatchNoNotificationCheckModes =>
  742 + '4. Make sure Low Power, Focus, Do Not Disturb, Theater, Sleep, and similar modes are off.';
640 743
641 @override 744 @override
642 - String get todayFaqWatchNoNotificationReinstall => '5. Reinstall DoubleFeel and restart Apple Watch and iPhone.'; 745 + String get todayFaqWatchNoNotificationReinstall =>
  746 + '5. Reinstall DoubleFeel and restart Apple Watch and iPhone.';
643 747
644 @override 748 @override
645 - String get todayFaqWatchFaceDelayTitle => 'Watch face data not updating or delayed?'; 749 + String get todayFaqWatchFaceDelayTitle =>
  750 + 'Watch face data not updating or delayed?';
646 751
647 @override 752 @override
648 - String get todayFaqWatchFaceDelayDescription1 => 'Due to Apple system limits, all watch faces, third-party or official, may have delays from a few minutes to half an hour. Developers cannot control the refresh frequency.'; 753 + String get todayFaqWatchFaceDelayDescription1 =>
  754 + 'Due to Apple system limits, all watch faces, third-party or official, may have delays from a few minutes to half an hour. Developers cannot control the refresh frequency.';
649 755
650 @override 756 @override
651 - String get todayFaqWatchFaceDelayIfOverOneHour => 'If the phone data refreshes but the watch face still has not updated after more than 1 hour:'; 757 + String get todayFaqWatchFaceDelayIfOverOneHour =>
  758 + 'If the phone data refreshes but the watch face still has not updated after more than 1 hour:';
652 759
653 @override 760 @override
654 - String get todayFaqWatchFaceDelayOpenWatchApp => 'Manually open DoubleFeel on Apple Watch and wait about 1 minute.'; 761 + String get todayFaqWatchFaceDelayOpenWatchApp =>
  762 + 'Manually open DoubleFeel on Apple Watch and wait about 1 minute.';
655 763
656 @override 764 @override
657 String get todayFaqWatchFaceDelayIfStill => 'If it still does not update:'; 765 String get todayFaqWatchFaceDelayIfStill => 'If it still does not update:';
658 766
659 @override 767 @override
660 - String get todayFaqWatchFaceDelayRestartApp => 'Close the DoubleFeel background process and restart it.'; 768 + String get todayFaqWatchFaceDelayRestartApp =>
  769 + 'Close the DoubleFeel background process and restart it.';
661 770
662 @override 771 @override
663 - String get todayFaqWatchFaceDelayCheckIntro => 'If it still does not work, check:'; 772 + String get todayFaqWatchFaceDelayCheckIntro =>
  773 + 'If it still does not work, check:';
664 774
665 @override 775 @override
666 - String get todayFaqWatchFaceDelayCheckData => '· Whether both phone and watch apps can show HRV data normally.'; 776 + String get todayFaqWatchFaceDelayCheckData =>
  777 + '· Whether both phone and watch apps can show HRV data normally.';
667 778
668 @override 779 @override
669 - String get todayFaqWatchFaceDelayCheckPhoneHealth => '· Make sure all permissions are enabled on iPhone: iOS Settings > Privacy & Security > Health > DoubleFeel.'; 780 + String get todayFaqWatchFaceDelayCheckPhoneHealth =>
  781 + '· Make sure all permissions are enabled on iPhone: iOS Settings > Privacy & Security > Health > DoubleFeel.';
670 782
671 @override 783 @override
672 - String get todayFaqWatchFaceDelayCheckWatchHealth => '· Make sure all permissions are enabled on Apple Watch: Settings > Health > Data Sources & Access > DoubleFeel.'; 784 + String get todayFaqWatchFaceDelayCheckWatchHealth =>
  785 + '· Make sure all permissions are enabled on Apple Watch: Settings > Health > Data Sources & Access > DoubleFeel.';
673 786
674 @override 787 @override
675 - String get todayFaqWatchFaceDelayCheckBackgroundRefresh => '· Confirm DoubleFeel is enabled in Apple Watch > Settings > General > Background App Refresh.'; 788 + String get todayFaqWatchFaceDelayCheckBackgroundRefresh =>
  789 + '· Confirm DoubleFeel is enabled in Apple Watch > Settings > General > Background App Refresh.';
676 790
677 @override 791 @override
678 - String get todayFaqWatchFaceDelayRestartWatch => '· If it still does not refresh automatically, restart Apple Watch. Long runtimes or high background usage may cause watch face updates to pause.'; 792 + String get todayFaqWatchFaceDelayRestartWatch =>
  793 + '· If it still does not refresh automatically, restart Apple Watch. Long runtimes or high background usage may cause watch face updates to pause.';
679 794
680 @override 795 @override
681 String get todayFaqWatchFaceBlackScreenTitle => 'Watch face turns black?'; 796 String get todayFaqWatchFaceBlackScreenTitle => 'Watch face turns black?';
682 797
683 @override 798 @override
684 - String get todayFaqWatchFaceBlackScreenDescription => 'If the custom interactive watch face turns black after being added and only shows time and date, long-press the watch face, tap Edit, swipe left to Complications, choose DoubleFeel, and add each component again as needed.'; 799 + String get todayFaqWatchFaceBlackScreenDescription =>
  800 + 'If the custom interactive watch face turns black after being added and only shows time and date, long-press the watch face, tap Edit, swipe left to Complications, choose DoubleFeel, and add each component again as needed.';
685 801
686 @override 802 @override
687 String get today => 'Today'; 803 String get today => 'Today';
@@ -699,16 +815,19 @@ class AppLocalizationsEn extends AppLocalizations { @@ -699,16 +815,19 @@ class AppLocalizationsEn extends AppLocalizations {
699 String get allPlans => 'All Plans'; 815 String get allPlans => 'All Plans';
700 816
701 @override 817 @override
702 - String get clickToAddTheHrvThemedWatchFace => 'Click to add the HRV-themed watch face'; 818 + String get clickToAddTheHrvThemedWatchFace =>
  819 + 'Click to add the HRV-themed watch face';
703 820
704 @override 821 @override
705 - String get stayOnTopOfYourHealthFluctuations => 'Stay on top of your health fluctuations'; 822 + String get stayOnTopOfYourHealthFluctuations =>
  823 + 'Stay on top of your health fluctuations';
706 824
707 @override 825 @override
708 String get addACloseContact => 'Add a close contact'; 826 String get addACloseContact => 'Add a close contact';
709 827
710 @override 828 @override
711 - String get oneMorePersonLookingOutForYourHealth => 'One more person looking out for your health'; 829 + String get oneMorePersonLookingOutForYourHealth =>
  830 + 'One more person looking out for your health';
712 831
713 @override 832 @override
714 String get addAFriend => 'Add a friend'; 833 String get addAFriend => 'Add a friend';
@@ -765,7 +884,8 @@ class AppLocalizationsEn extends AppLocalizations { @@ -765,7 +884,8 @@ class AppLocalizationsEn extends AppLocalizations {
765 String get questionsAndFeedback => 'Questions and Feedback'; 884 String get questionsAndFeedback => 'Questions and Feedback';
766 885
767 @override 886 @override
768 - String get ifYouWouldLikeUsToReplyPleaseProvideYourEmailAddress => 'If you would like us to reply, please provide your email address'; 887 + String get ifYouWouldLikeUsToReplyPleaseProvideYourEmailAddress =>
  888 + 'If you would like us to reply, please provide your email address';
769 889
770 @override 890 @override
771 String get uploadProof => 'Upload Proof'; 891 String get uploadProof => 'Upload Proof';
@@ -774,7 +894,8 @@ class AppLocalizationsEn extends AppLocalizations { @@ -774,7 +894,8 @@ class AppLocalizationsEn extends AppLocalizations {
774 String get frequentlyAskedQuestions => 'Frequently Asked Questions'; 894 String get frequentlyAskedQuestions => 'Frequently Asked Questions';
775 895
776 @override 896 @override
777 - String get areYouSureYouWantToDeleteYourAccount => 'Are you sure you want to delete your account?'; 897 + String get areYouSureYouWantToDeleteYourAccount =>
  898 + 'Are you sure you want to delete your account?';
778 899
779 @override 900 @override
780 String get accountSettings => 'Account Settings'; 901 String get accountSettings => 'Account Settings';
  1 +// ignore: unused_import
  2 +import 'package:intl/intl.dart' as intl;
1 import 'app_localizations.dart'; 3 import 'app_localizations.dart';
2 4
3 // ignore_for_file: type=lint 5 // ignore_for_file: type=lint
@@ -70,7 +72,8 @@ class AppLocalizationsZh extends AppLocalizations { @@ -70,7 +72,8 @@ class AppLocalizationsZh extends AppLocalizations {
70 String get onboardingIntroTitle => 'DoubleFeel 是专为 Apple Watch 打造的健康陪伴app'; 72 String get onboardingIntroTitle => 'DoubleFeel 是专为 Apple Watch 打造的健康陪伴app';
71 73
72 @override 74 @override
73 - String get onboardingIntroBody => '我们希望可以帮助你\n<em>关注自己的身心变化,也让爱你的人</em>及时发现你的<em>疲惫与需要</em>'; 75 + String get onboardingIntroBody =>
  76 + '我们希望可以帮助你\n<em>关注自己的身心变化,也让爱你的人</em>及时发现你的<em>疲惫与需要</em>';
74 77
75 @override 78 @override
76 String get onboardingStateQuestion => '请问以下哪些描述,经常发生在你身上?'; 79 String get onboardingStateQuestion => '请问以下哪些描述,经常发生在你身上?';
@@ -160,7 +163,8 @@ class AppLocalizationsZh extends AppLocalizations { @@ -160,7 +163,8 @@ class AppLocalizationsZh extends AppLocalizations {
160 String get onboardingHrvSubtitle => '它能帮助我们衡量整体的压力和健康状态'; 163 String get onboardingHrvSubtitle => '它能帮助我们衡量整体的压力和健康状态';
161 164
162 @override 165 @override
163 - String get onboardingHrvDescription => '心率变异性(HRV, Heart Rate Variability)即心跳之间间隔时间的微小变化,反映了自主神经系统活动和身体对压力的反应能力'; 166 + String get onboardingHrvDescription =>
  167 + '心率变异性(HRV, Heart Rate Variability)即心跳之间间隔时间的微小变化,反映了自主神经系统活动和身体对压力的反应能力';
164 168
165 @override 169 @override
166 String get onboardingTellMeMore => '展开说说'; 170 String get onboardingTellMeMore => '展开说说';
@@ -184,10 +188,12 @@ class AppLocalizationsZh extends AppLocalizations { @@ -184,10 +188,12 @@ class AppLocalizationsZh extends AppLocalizations {
184 String get onboardingHealthPermissionTitle => '开启健康授权提醒、统计你的压力'; 188 String get onboardingHealthPermissionTitle => '开启健康授权提醒、统计你的压力';
185 189
186 @override 190 @override
187 - String get onboardingHealthPermissionBody => 'DoubleFeel需要连接健康穿戴设备数据,以提醒、统计压力时刻、提供建议。'; 191 + String get onboardingHealthPermissionBody =>
  192 + 'DoubleFeel需要连接健康穿戴设备数据,以提醒、统计压力时刻、提供建议。';
188 193
189 @override 194 @override
190 - String get onboardingHealthPermissionPrivacy => '请放心,你的健康数据仅储存在本地,我们不上传任何相关数据。'; 195 + String get onboardingHealthPermissionPrivacy =>
  196 + '请放心,你的健康数据仅储存在本地,我们不上传任何相关数据。';
191 197
192 @override 198 @override
193 String get onboardingNotificationTitle => '开启通知'; 199 String get onboardingNotificationTitle => '开启通知';
@@ -196,7 +202,8 @@ class AppLocalizationsZh extends AppLocalizations { @@ -196,7 +202,8 @@ class AppLocalizationsZh extends AppLocalizations {
196 String get onboardingNotificationSubtitle => '及时了解身体每一次异动'; 202 String get onboardingNotificationSubtitle => '及时了解身体每一次异动';
197 203
198 @override 204 @override
199 - String get onboardingNotificationBody => 'AppleWatch数据更新后会及时提醒你,帮助你及时行动,改善压力状态'; 205 + String get onboardingNotificationBody =>
  206 + 'AppleWatch数据更新后会及时提醒你,帮助你及时行动,改善压力状态';
200 207
201 @override 208 @override
202 String get onboardingMemberTitle => '获得年度会员优惠'; 209 String get onboardingMemberTitle => '获得年度会员优惠';
@@ -220,7 +227,9 @@ class AppLocalizationsZh extends AppLocalizations { @@ -220,7 +227,9 @@ class AppLocalizationsZh extends AppLocalizations {
220 String get healthCompanionIsNowAvailable => '健康陪伴已开启'; 227 String get healthCompanionIsNowAvailable => '健康陪伴已开启';
221 228
222 @override 229 @override
223 - String get youCanNowViewEachOtherSHrvStressLevelsAndSleepPatternsAndReachOutToCheckInWhenTheOtherPersonSeemsTired => '你们现在可以查看彼此的 HRV、压力与睡眠变化,并在对方疲惫时及时送上关心。'; 230 + String
  231 + get youCanNowViewEachOtherSHrvStressLevelsAndSleepPatternsAndReachOutToCheckInWhenTheOtherPersonSeemsTired =>
  232 + '你们现在可以查看彼此的 HRV、压力与睡眠变化,并在对方疲惫时及时送上关心。';
224 233
225 @override 234 @override
226 String get bindPartnerTitle => '添加亲密联系人\n多一个人关注你的健康'; 235 String get bindPartnerTitle => '添加亲密联系人\n多一个人关注你的健康';
@@ -333,7 +342,8 @@ class AppLocalizationsZh extends AppLocalizations { @@ -333,7 +342,8 @@ class AppLocalizationsZh extends AppLocalizations {
333 String get todayHealthDataAuthTitle => '无法获取心率健康数据'; 342 String get todayHealthDataAuthTitle => '无法获取心率健康数据';
334 343
335 @override 344 @override
336 - String get todayHealthDataAuthDescription => 'DoubleFeel 需要授权访问你的健康数据,才能提供压力提醒、实时压力统计和健康建议;否则应用功能可能无法正常使用。请放心,你的健康数据仅存储在本地,不会上传到任何服务器。'; 345 + String get todayHealthDataAuthDescription =>
  346 + 'DoubleFeel 需要授权访问你的健康数据,才能提供压力提醒、实时压力统计和健康建议;否则应用功能可能无法正常使用。请放心,你的健康数据仅存储在本地,不会上传到任何服务器。';
337 347
338 @override 348 @override
339 String get todayHealthDataAuthAction => '授权访问健康数据'; 349 String get todayHealthDataAuthAction => '授权访问健康数据';
@@ -360,7 +370,8 @@ class AppLocalizationsZh extends AppLocalizations { @@ -360,7 +370,8 @@ class AppLocalizationsZh extends AppLocalizations {
360 String get todayFaqLinkWatchNoStatusNotification => '手表为什么无法收到状态通知?'; 370 String get todayFaqLinkWatchNoStatusNotification => '手表为什么无法收到状态通知?';
361 371
362 @override 372 @override
363 - String get todayFaqLinkWatchNoStatusAndInteractionNotification => '手表为什么无法收到状态和互动通知?'; 373 + String get todayFaqLinkWatchNoStatusAndInteractionNotification =>
  374 + '手表为什么无法收到状态和互动通知?';
364 375
365 @override 376 @override
366 String get todayFaqLinkWatchFaceDataDelay => '手表表盘数据不更新或者有延迟?'; 377 String get todayFaqLinkWatchFaceDataDelay => '手表表盘数据不更新或者有延迟?';
@@ -393,22 +404,27 @@ class AppLocalizationsZh extends AppLocalizations { @@ -393,22 +404,27 @@ class AppLocalizationsZh extends AppLocalizations {
393 String get todayStressStatusInsufficientData => '数据不足'; 404 String get todayStressStatusInsufficientData => '数据不足';
394 405
395 @override 406 @override
396 - String get todayStressStatusOverloadDescription => '当前 HRV 明显低于你的长期平均水平,可能意味着身体疲劳、压力过高或恢复不足。建议及时休息。'; 407 + String get todayStressStatusOverloadDescription =>
  408 + '当前 HRV 明显低于你的长期平均水平,可能意味着身体疲劳、压力过高或恢复不足。建议及时休息。';
397 409
398 @override 410 @override
399 - String get todayStressStatusCautionDescription => '当前 HRV 低于正常范围,身体可能正在积累压力,需要注意作息与恢复。'; 411 + String get todayStressStatusCautionDescription =>
  412 + '当前 HRV 低于正常范围,身体可能正在积累压力,需要注意作息与恢复。';
400 413
401 @override 414 @override
402 String get todayStressStatusNormalDescription => '当前身体状态处于你的正常波动范围内。'; 415 String get todayStressStatusNormalDescription => '当前身体状态处于你的正常波动范围内。';
403 416
404 @override 417 @override
405 - String get todayStressStatusExcellentDescription => '当前 HRV 高于近期平均水平,代表身体恢复与整体状态较好。'; 418 + String get todayStressStatusExcellentDescription =>
  419 + '当前 HRV 高于近期平均水平,代表身体恢复与整体状态较好。';
406 420
407 @override 421 @override
408 - String get todayStressStatusInsufficientDataDescription => '当前可用数据不足,暂时无法准确判断压力状态。'; 422 + String get todayStressStatusInsufficientDataDescription =>
  423 + '当前可用数据不足,暂时无法准确判断压力状态。';
409 424
410 @override 425 @override
411 - String get todayHrvMeasurementIntro => 'AppleWatch默认每2-5小时测量一次HRV,如果你希望立即手动进行测量,可以参考以下方法:'; 426 + String get todayHrvMeasurementIntro =>
  427 + 'AppleWatch默认每2-5小时测量一次HRV,如果你希望立即手动进行测量,可以参考以下方法:';
412 428
413 @override 429 @override
414 String get todayHrvMeasurementStep1 => '1、戴紧AppleWatch,坐下来,保持心境平和'; 430 String get todayHrvMeasurementStep1 => '1、戴紧AppleWatch,坐下来,保持心境平和';
@@ -426,7 +442,8 @@ class AppLocalizationsZh extends AppLocalizations { @@ -426,7 +442,8 @@ class AppLocalizationsZh extends AppLocalizations {
426 String get todayHrvMeasurementStep5 => '5、等待一分钟左右,StressWatch会收到你的数据并展示'; 442 String get todayHrvMeasurementStep5 => '5、等待一分钟左右,StressWatch会收到你的数据并展示';
427 443
428 @override 444 @override
429 - String get todayHrvMeasurementHint => '提示:数据源来自AppleWatch,在测量之后可能存在延迟或是数据未能同步的情况。如若出现上述情况,请重新测量并等待数据读取。'; 445 + String get todayHrvMeasurementHint =>
  446 + '提示:数据源来自AppleWatch,在测量之后可能存在延迟或是数据未能同步的情况。如若出现上述情况,请重新测量并等待数据读取。';
430 447
431 @override 448 @override
432 String get todayHrvMeasurementWarning => '注意:需打开健康里的权限,同时关闭省电模式。'; 449 String get todayHrvMeasurementWarning => '注意:需打开健康里的权限,同时关闭省电模式。';
@@ -435,10 +452,12 @@ class AppLocalizationsZh extends AppLocalizations { @@ -435,10 +452,12 @@ class AppLocalizationsZh extends AppLocalizations {
435 String get todayStressStatusWhatTitle => '什么是综合压力状态?'; 452 String get todayStressStatusWhatTitle => '什么是综合压力状态?';
436 453
437 @override 454 @override
438 - String get todayStressStatusWhatDescription1 => 'DoubleFeel 会结合你过去 30 天的 HRV(心率变异性)、静息心率以及当天的身体状态变化,综合评估你的整体压力水平。'; 455 + String get todayStressStatusWhatDescription1 =>
  456 + 'DoubleFeel 会结合你过去 30 天的 HRV(心率变异性)、静息心率以及当天的身体状态变化,综合评估你的整体压力水平。';
439 457
440 @override 458 @override
441 - String get todayStressStatusWhatDescription2 => '由于 HRV 会随着情绪、运动、睡眠和疲劳不断波动,单次数据参考意义有限,因此我们更建议关注一整天的综合压力状态,让结果更稳定、更有参考价值。综合压力不仅能帮助你了解自己的身体状态,也能让亲密联系人更及时地关注你的变化。'; 459 + String get todayStressStatusWhatDescription2 =>
  460 + '由于 HRV 会随着情绪、运动、睡眠和疲劳不断波动,单次数据参考意义有限,因此我们更建议关注一整天的综合压力状态,让结果更稳定、更有参考价值。综合压力不仅能帮助你了解自己的身体状态,也能让亲密联系人更及时地关注你的变化。';
442 461
443 @override 462 @override
444 String get todayStressStatusWhyHrvTitle => '为什么要参考 HRV(心率变异性)?'; 463 String get todayStressStatusWhyHrvTitle => '为什么要参考 HRV(心率变异性)?';
@@ -459,22 +478,27 @@ class AppLocalizationsZh extends AppLocalizations { @@ -459,22 +478,27 @@ class AppLocalizationsZh extends AppLocalizations {
459 String get todayStressStatusHrvChangesFast => '· HRV 变化较快,更适合观察短时间内的身体状态变化。'; 478 String get todayStressStatusHrvChangesFast => '· HRV 变化较快,更适合观察短时间内的身体状态变化。';
460 479
461 @override 480 @override
462 - String get todayStressStatusAppWatchDifferenceTitle => '手机 App 与 Apple Watch 显示的压力状态有什么区别?'; 481 + String get todayStressStatusAppWatchDifferenceTitle =>
  482 + '手机 App 与 Apple Watch 显示的压力状态有什么区别?';
463 483
464 @override 484 @override
465 - String get todayStressStatusAppWatchDifferenceApp => '手机 App 首页显示的是当天的综合压力状态,会综合分析 HRV、静息心率与整体趋势。'; 485 + String get todayStressStatusAppWatchDifferenceApp =>
  486 + '手机 App 首页显示的是当天的综合压力状态,会综合分析 HRV、静息心率与整体趋势。';
466 487
467 @override 488 @override
468 - String get todayStressStatusAppWatchDifferenceWatch => 'Apple Watch 显示的是最近一次的实时压力状态,更适合快速查看当前身体变化。'; 489 + String get todayStressStatusAppWatchDifferenceWatch =>
  490 + 'Apple Watch 显示的是最近一次的实时压力状态,更适合快速查看当前身体变化。';
469 491
470 @override 492 @override
471 String get todayStressStatusWaitingDataTitle => '为什么会出现“等待数据”?'; 493 String get todayStressStatusWaitingDataTitle => '为什么会出现“等待数据”?';
472 494
473 @override 495 @override
474 - String get todayStressStatusWaitingDataDescription1 => '“等待数据”代表当前采集到的数据量不足,暂时无法生成可靠的压力评估。'; 496 + String get todayStressStatusWaitingDataDescription1 =>
  497 + '“等待数据”代表当前采集到的数据量不足,暂时无法生成可靠的压力评估。';
475 498
476 @override 499 @override
477 - String get todayStressStatusWaitingDataDescription2 => '请继续佩戴 Apple Watch,等待系统自动采集数据。'; 500 + String get todayStressStatusWaitingDataDescription2 =>
  501 + '请继续佩戴 Apple Watch,等待系统自动采集数据。';
478 502
479 @override 503 @override
480 String get todayStressStatusWaitingDataReasonsIntro => '可能原因包括:'; 504 String get todayStressStatusWaitingDataReasonsIntro => '可能原因包括:';
@@ -495,28 +519,35 @@ class AppLocalizationsZh extends AppLocalizations { @@ -495,28 +519,35 @@ class AppLocalizationsZh extends AppLocalizations {
495 String get todayHrvPrincipleHowMeasureTitle => 'DoubleFeel 如何测量压力状态?'; 519 String get todayHrvPrincipleHowMeasureTitle => 'DoubleFeel 如何测量压力状态?';
496 520
497 @override 521 @override
498 - String get todayHrvPrincipleHowMeasureDescription1 => '当你正常佩戴 Apple Watch 时,系统会自动采集你的心率数据,并同步至 Apple Health。'; 522 + String get todayHrvPrincipleHowMeasureDescription1 =>
  523 + '当你正常佩戴 Apple Watch 时,系统会自动采集你的心率数据,并同步至 Apple Health。';
499 524
500 @override 525 @override
501 - String get todayHrvPrincipleHowMeasureDescription2 => 'DoubleFeel 会基于这些数据计算 HRV(心率变异性)相关指标,用于评估你的身体压力与恢复状态。'; 526 + String get todayHrvPrincipleHowMeasureDescription2 =>
  527 + 'DoubleFeel 会基于这些数据计算 HRV(心率变异性)相关指标,用于评估你的身体压力与恢复状态。';
502 528
503 @override 529 @override
504 - String get todayHrvPrincipleHowMeasureDescription3 => 'HRV 对压力、疲劳、睡眠、情绪与身体恢复都非常敏感,因此它能够帮助我们更早发现身体状态变化。'; 530 + String get todayHrvPrincipleHowMeasureDescription3 =>
  531 + 'HRV 对压力、疲劳、睡眠、情绪与身体恢复都非常敏感,因此它能够帮助我们更早发现身体状态变化。';
505 532
506 @override 533 @override
507 - String get todayHrvPrincipleHowMeasureDescription4 => '为了让结果更准确,DoubleFeel 会将你当前的 HRV 状态与过去 30 天的个人平均水平进行对比,而不是直接与其他人比较。'; 534 + String get todayHrvPrincipleHowMeasureDescription4 =>
  535 + '为了让结果更准确,DoubleFeel 会将你当前的 HRV 状态与过去 30 天的个人平均水平进行对比,而不是直接与其他人比较。';
508 536
509 @override 537 @override
510 String get todayRealtimeStressWhatTitle => '什么是实时压力?'; 538 String get todayRealtimeStressWhatTitle => '什么是实时压力?';
511 539
512 @override 540 @override
513 - String get todayRealtimeStressWhatDescription1 => '实时压力是 DoubleFeel 根据你当前的 HRV、心率状态与个人历史数据变化,动态生成的身体压力指标。'; 541 + String get todayRealtimeStressWhatDescription1 =>
  542 + '实时压力是 DoubleFeel 根据你当前的 HRV、心率状态与个人历史数据变化,动态生成的身体压力指标。';
514 543
515 @override 544 @override
516 - String get todayRealtimeStressWhatDescription2 => '压力值越高,代表你的身体状态相比平时偏离越明显,可能正处于疲劳、恢复不足或高压力状态。'; 545 + String get todayRealtimeStressWhatDescription2 =>
  546 + '压力值越高,代表你的身体状态相比平时偏离越明显,可能正处于疲劳、恢复不足或高压力状态。';
517 547
518 @override 548 @override
519 - String get todayRealtimeStressWhatDescription3 => '它能够帮助你更快发现身体变化,并及时调整休息、运动与生活节奏。'; 549 + String get todayRealtimeStressWhatDescription3 =>
  550 + '它能够帮助你更快发现身体变化,并及时调整休息、运动与生活节奏。';
520 551
521 @override 552 @override
522 String get todayRealtimeStressDivisionTitle => '实时压力如何划分?'; 553 String get todayRealtimeStressDivisionTitle => '实时压力如何划分?';
@@ -546,10 +577,12 @@ class AppLocalizationsZh extends AppLocalizations { @@ -546,10 +577,12 @@ class AppLocalizationsZh extends AppLocalizations {
546 String get todayRealtimeStressCautionDescription => '身体可能正在积累压力,需要适当休息与恢复。'; 577 String get todayRealtimeStressCautionDescription => '身体可能正在积累压力,需要适当休息与恢复。';
547 578
548 @override 579 @override
549 - String get todayRealtimeStressOverloadDescription => '身体压力明显偏高,建议减少负荷、注意睡眠与恢复。'; 580 + String get todayRealtimeStressOverloadDescription =>
  581 + '身体压力明显偏高,建议减少负荷、注意睡眠与恢复。';
550 582
551 @override 583 @override
552 - String get todayRealtimeStressDivisionBaseline => '以上区间会结合你的个人基线动态调整,不同用户之间并不直接比较。'; 584 + String get todayRealtimeStressDivisionBaseline =>
  585 + '以上区间会结合你的个人基线动态调整,不同用户之间并不直接比较。';
553 586
554 @override 587 @override
555 String get todayRealtimeStressDivisionAwake => '此外,实时压力主要反映清醒状态下的身体压力变化。'; 588 String get todayRealtimeStressDivisionAwake => '此外,实时压力主要反映清醒状态下的身体压力变化。';
@@ -564,25 +597,31 @@ class AppLocalizationsZh extends AppLocalizations { @@ -564,25 +597,31 @@ class AppLocalizationsZh extends AppLocalizations {
564 String get todayRealtimeStressLowBetterType => '身体压力分为“正常压力”与“异常压力”。'; 597 String get todayRealtimeStressLowBetterType => '身体压力分为“正常压力”与“异常压力”。';
565 598
566 @override 599 @override
567 - String get todayRealtimeStressLowBetterExample => '例如:运动期间或运动后,实时压力短时间升高属于正常恢复反应;工作专注、情绪兴奋时,压力也可能暂时升高,这些都属于正常的身体调节。'; 600 + String get todayRealtimeStressLowBetterExample =>
  601 + '例如:运动期间或运动后,实时压力短时间升高属于正常恢复反应;工作专注、情绪兴奋时,压力也可能暂时升高,这些都属于正常的身体调节。';
568 602
569 @override 603 @override
570 - String get todayRealtimeStressLowBetterHighStress => '但如果在静息、久坐或睡眠不足的情况下,压力长期偏高,则可能意味着身体疲劳、心理压力较大、睡眠恢复不足、运动恢复不充分、摄入过多咖啡因、酒精或刺激物、身体可能处于不适状态。'; 604 + String get todayRealtimeStressLowBetterHighStress =>
  605 + '但如果在静息、久坐或睡眠不足的情况下,压力长期偏高,则可能意味着身体疲劳、心理压力较大、睡眠恢复不足、运动恢复不充分、摄入过多咖啡因、酒精或刺激物、身体可能处于不适状态。';
571 606
572 @override 607 @override
573 - String get todayRealtimeStressLowBetterTrend => 'DoubleFeel 更关注的是你的长期变化趋势,而不是单次波动。'; 608 + String get todayRealtimeStressLowBetterTrend =>
  609 + 'DoubleFeel 更关注的是你的长期变化趋势,而不是单次波动。';
574 610
575 @override 611 @override
576 String get todayRealtimeStressScenarioTitle => 'HRV 与实时压力适用场景?'; 612 String get todayRealtimeStressScenarioTitle => 'HRV 与实时压力适用场景?';
577 613
578 @override 614 @override
579 - String get todayRealtimeStressScenarioHrvDefault => '在 Apple Watch 的默认设置下,HRV 每 2~5 小时更新一次。'; 615 + String get todayRealtimeStressScenarioHrvDefault =>
  616 + '在 Apple Watch 的默认设置下,HRV 每 2~5 小时更新一次。';
580 617
581 @override 618 @override
582 - String get todayRealtimeStressScenarioRegionLimit => '在部分地区,由于 Apple Watch 的呼吸功能受限,HRV 的更新频率可能会受到影响,并且开启呼吸功能后也会消耗更多电量。'; 619 + String get todayRealtimeStressScenarioRegionLimit =>
  620 + '在部分地区,由于 Apple Watch 的呼吸功能受限,HRV 的更新频率可能会受到影响,并且开启呼吸功能后也会消耗更多电量。';
583 621
584 @override 622 @override
585 - String get todayRealtimeStressScenarioIntro => '为了解决 HRV 更新间隔较长的问题,DoubleFeel 设计了实时压力功能:'; 623 + String get todayRealtimeStressScenarioIntro =>
  624 + '为了解决 HRV 更新间隔较长的问题,DoubleFeel 设计了实时压力功能:';
586 625
587 @override 626 @override
588 String get todayRealtimeStressScenarioUpdateEvery6Min => '· 实时压力每 6 分钟更新一次'; 627 String get todayRealtimeStressScenarioUpdateEvery6Min => '· 实时压力每 6 分钟更新一次';
@@ -591,22 +630,27 @@ class AppLocalizationsZh extends AppLocalizations { @@ -591,22 +630,27 @@ class AppLocalizationsZh extends AppLocalizations {
591 String get todayRealtimeStressScenarioTimely => '· 可以更及时地反映身体状态变化'; 630 String get todayRealtimeStressScenarioTimely => '· 可以更及时地反映身体状态变化';
592 631
593 @override 632 @override
594 - String get todayRealtimeStressScenarioConsistentTrend => '· 在大多数情况下,实时压力趋势与 HRV 趋势是一致的'; 633 + String get todayRealtimeStressScenarioConsistentTrend =>
  634 + '· 在大多数情况下,实时压力趋势与 HRV 趋势是一致的';
595 635
596 @override 636 @override
597 - String get todayRealtimeStressScenarioSummary => '这样用户既能获得 HRV 的长期趋势,也能通过实时压力获得短时身体状态的参考。'; 637 + String get todayRealtimeStressScenarioSummary =>
  638 + '这样用户既能获得 HRV 的长期趋势,也能通过实时压力获得短时身体状态的参考。';
598 639
599 @override 640 @override
600 String get todayFaqNoDataTitle => 'APP或表盘有没有数据怎么办?'; 641 String get todayFaqNoDataTitle => 'APP或表盘有没有数据怎么办?';
601 642
602 @override 643 @override
603 - String get todayFaqNoDataDescription1 => '1. 确认苹果手表系统在10.0以上,手机系统在14以上,系统版本可在「关于本机」内查看。'; 644 + String get todayFaqNoDataDescription1 =>
  645 + '1. 确认苹果手表系统在10.0以上,手机系统在14以上,系统版本可在「关于本机」内查看。';
604 646
605 @override 647 @override
606 - String get todayFaqNoDataDescription2 => '2. 确认是否开启所有权限:手机「健康」-「共享」-「app」-「DoubleFeel」-「打开所有权限」。'; 648 + String get todayFaqNoDataDescription2 =>
  649 + '2. 确认是否开启所有权限:手机「健康」-「共享」-「app」-「DoubleFeel」-「打开所有权限」。';
607 650
608 @override 651 @override
609 - String get todayFaqNoDataDescription3 => '3. 确认设备是否处于省电模式、低电量状态或手表佩戴未贴紧,以上情况会影响手表数据采集。'; 652 + String get todayFaqNoDataDescription3 =>
  653 + '3. 确认设备是否处于省电模式、低电量状态或手表佩戴未贴紧,以上情况会影响手表数据采集。';
610 654
611 @override 655 @override
612 String get todayFaqContactPrefix => '如以上均检查无问题,可以'; 656 String get todayFaqContactPrefix => '如以上均检查无问题,可以';
@@ -621,37 +665,46 @@ class AppLocalizationsZh extends AppLocalizations { @@ -621,37 +665,46 @@ class AppLocalizationsZh extends AppLocalizations {
621 String get todayFaqWatchNoNotificationTitle => '手表无法收到状态通知?'; 665 String get todayFaqWatchNoNotificationTitle => '手表无法收到状态通知?';
622 666
623 @override 667 @override
624 - String get todayFaqWatchNoNotificationDescription1 => '苹果手表和手机的通知展示有优先级:当手机已解锁并亮屏时,通知只会在手机端展示,不会在手表上出现。'; 668 + String get todayFaqWatchNoNotificationDescription1 =>
  669 + '苹果手表和手机的通知展示有优先级:当手机已解锁并亮屏时,通知只会在手机端展示,不会在手表上出现。';
625 670
626 @override 671 @override
627 - String get todayFaqWatchNoNotificationDescription2 => '若压力数据可正常显示和自动更新,但手表未收到通知,可尝试以下操作:'; 672 + String get todayFaqWatchNoNotificationDescription2 =>
  673 + '若压力数据可正常显示和自动更新,但手表未收到通知,可尝试以下操作:';
628 674
629 @override 675 @override
630 - String get todayFaqWatchNoNotificationCheckPhoneNotification => '1. 检查手机是否打开通知(设置-DoubleFeel-通知)。'; 676 + String get todayFaqWatchNoNotificationCheckPhoneNotification =>
  677 + '1. 检查手机是否打开通知(设置-DoubleFeel-通知)。';
631 678
632 @override 679 @override
633 - String get todayFaqWatchNoNotificationCheckPhoneBackgroundRefresh => '2. 检查手机是否打开后台App刷新(设置-DoubleFeel-后台App刷新)。'; 680 + String get todayFaqWatchNoNotificationCheckPhoneBackgroundRefresh =>
  681 + '2. 检查手机是否打开后台App刷新(设置-DoubleFeel-后台App刷新)。';
634 682
635 @override 683 @override
636 - String get todayFaqWatchNoNotificationCheckWatchBackgroundRefresh => '3. 检查手表是否打开后台App刷新(设置-通用-后台App刷新,并确保DoubleFeel开启)。'; 684 + String get todayFaqWatchNoNotificationCheckWatchBackgroundRefresh =>
  685 + '3. 检查手表是否打开后台App刷新(设置-通用-后台App刷新,并确保DoubleFeel开启)。';
637 686
638 @override 687 @override
639 - String get todayFaqWatchNoNotificationCheckModes => '4. 确保未处于低电量/专注/勿扰/剧院/睡眠等模式。'; 688 + String get todayFaqWatchNoNotificationCheckModes =>
  689 + '4. 确保未处于低电量/专注/勿扰/剧院/睡眠等模式。';
640 690
641 @override 691 @override
642 - String get todayFaqWatchNoNotificationReinstall => '5. 重装DoubleFeel 并重启AppleWatch与iPhone。'; 692 + String get todayFaqWatchNoNotificationReinstall =>
  693 + '5. 重装DoubleFeel 并重启AppleWatch与iPhone。';
643 694
644 @override 695 @override
645 String get todayFaqWatchFaceDelayTitle => '手表表盘数据不更新或有延迟?'; 696 String get todayFaqWatchFaceDelayTitle => '手表表盘数据不更新或有延迟?';
646 697
647 @override 698 @override
648 - String get todayFaqWatchFaceDelayDescription1 => '由于苹果系统限制,所有手表表盘(第三方或官方)都会存在几分钟至半小时的延迟,开发者无法控制刷新频率。'; 699 + String get todayFaqWatchFaceDelayDescription1 =>
  700 + '由于苹果系统限制,所有手表表盘(第三方或官方)都会存在几分钟至半小时的延迟,开发者无法控制刷新频率。';
649 701
650 @override 702 @override
651 String get todayFaqWatchFaceDelayIfOverOneHour => '若手机数据刷新后超过1小时表盘仍未更新:'; 703 String get todayFaqWatchFaceDelayIfOverOneHour => '若手机数据刷新后超过1小时表盘仍未更新:';
652 704
653 @override 705 @override
654 - String get todayFaqWatchFaceDelayOpenWatchApp => '请在手表上手动打开DoubleFeel,等待约1分钟。'; 706 + String get todayFaqWatchFaceDelayOpenWatchApp =>
  707 + '请在手表上手动打开DoubleFeel,等待约1分钟。';
655 708
656 @override 709 @override
657 String get todayFaqWatchFaceDelayIfStill => '若仍未更新:'; 710 String get todayFaqWatchFaceDelayIfStill => '若仍未更新:';
@@ -666,22 +719,27 @@ class AppLocalizationsZh extends AppLocalizations { @@ -666,22 +719,27 @@ class AppLocalizationsZh extends AppLocalizations {
666 String get todayFaqWatchFaceDelayCheckData => '· 手机和手表app是否可正常看到HRV数据。'; 719 String get todayFaqWatchFaceDelayCheckData => '· 手机和手表app是否可正常看到HRV数据。';
667 720
668 @override 721 @override
669 - String get todayFaqWatchFaceDelayCheckPhoneHealth => '· 确保手机端「iOS设置-隐私与安全性-健康-DoubleFeel」全部授权。'; 722 + String get todayFaqWatchFaceDelayCheckPhoneHealth =>
  723 + '· 确保手机端「iOS设置-隐私与安全性-健康-DoubleFeel」全部授权。';
670 724
671 @override 725 @override
672 - String get todayFaqWatchFaceDelayCheckWatchHealth => '· 确保手表端「设置-健康-数据来源、App和服务-DoubleFeel」全部授权。'; 726 + String get todayFaqWatchFaceDelayCheckWatchHealth =>
  727 + '· 确保手表端「设置-健康-数据来源、App和服务-DoubleFeel」全部授权。';
673 728
674 @override 729 @override
675 - String get todayFaqWatchFaceDelayCheckBackgroundRefresh => '· 确认AppleWatch-设置-通用-后台App刷新中DoubleFeel已开启。'; 730 + String get todayFaqWatchFaceDelayCheckBackgroundRefresh =>
  731 + '· 确认AppleWatch-设置-通用-后台App刷新中DoubleFeel已开启。';
676 732
677 @override 733 @override
678 - String get todayFaqWatchFaceDelayRestartWatch => '· 若仍未自动刷新,请重启手表。长时间运行或后台占用过高可能导致表盘暂停更新。'; 734 + String get todayFaqWatchFaceDelayRestartWatch =>
  735 + '· 若仍未自动刷新,请重启手表。长时间运行或后台占用过高可能导致表盘暂停更新。';
679 736
680 @override 737 @override
681 String get todayFaqWatchFaceBlackScreenTitle => '手表表盘出现黑屏?'; 738 String get todayFaqWatchFaceBlackScreenTitle => '手表表盘出现黑屏?';
682 739
683 @override 740 @override
684 - String get todayFaqWatchFaceBlackScreenDescription => '若添加专属互动表盘后出现黑屏(仅显示时间和日期),可长按表盘,点击「编辑」,左滑至「复杂功能」,选择 DoubleFeel,然后按需选择各组件重新添加。'; 741 + String get todayFaqWatchFaceBlackScreenDescription =>
  742 + '若添加专属互动表盘后出现黑屏(仅显示时间和日期),可长按表盘,点击「编辑」,左滑至「复杂功能」,选择 DoubleFeel,然后按需选择各组件重新添加。';
685 743
686 @override 744 @override
687 String get today => '今天'; 745 String get today => '今天';
@@ -765,7 +823,8 @@ class AppLocalizationsZh extends AppLocalizations { @@ -765,7 +823,8 @@ class AppLocalizationsZh extends AppLocalizations {
765 String get questionsAndFeedback => '问题和反馈'; 823 String get questionsAndFeedback => '问题和反馈';
766 824
767 @override 825 @override
768 - String get ifYouWouldLikeUsToReplyPleaseProvideYourEmailAddress => '如果需要我们回复,请填写联系邮箱'; 826 + String get ifYouWouldLikeUsToReplyPleaseProvideYourEmailAddress =>
  827 + '如果需要我们回复,请填写联系邮箱';
769 828
770 @override 829 @override
771 String get uploadProof => '上传凭证'; 830 String get uploadProof => '上传凭证';
@@ -133,10 +133,10 @@ packages: @@ -133,10 +133,10 @@ packages:
133 dependency: transitive 133 dependency: transitive
134 description: 134 description:
135 name: characters 135 name: characters
136 - sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" 136 + sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803
137 url: "https://pub.dev" 137 url: "https://pub.dev"
138 source: hosted 138 source: hosted
139 - version: "1.3.0" 139 + version: "1.4.0"
140 checked_yaml: 140 checked_yaml:
141 dependency: transitive 141 dependency: transitive
142 description: 142 description:
@@ -149,10 +149,10 @@ packages: @@ -149,10 +149,10 @@ packages:
149 dependency: transitive 149 dependency: transitive
150 description: 150 description:
151 name: clock 151 name: clock
152 - sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf 152 + sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b
153 url: "https://pub.dev" 153 url: "https://pub.dev"
154 source: hosted 154 source: hosted
155 - version: "1.1.1" 155 + version: "1.1.2"
156 code_builder: 156 code_builder:
157 dependency: transitive 157 dependency: transitive
158 description: 158 description:
@@ -165,10 +165,10 @@ packages: @@ -165,10 +165,10 @@ packages:
165 dependency: transitive 165 dependency: transitive
166 description: 166 description:
167 name: collection 167 name: collection
168 - sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf 168 + sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76"
169 url: "https://pub.dev" 169 url: "https://pub.dev"
170 source: hosted 170 source: hosted
171 - version: "1.19.0" 171 + version: "1.19.1"
172 convert: 172 convert:
173 dependency: transitive 173 dependency: transitive
174 description: 174 description:
@@ -237,10 +237,10 @@ packages: @@ -237,10 +237,10 @@ packages:
237 dependency: transitive 237 dependency: transitive
238 description: 238 description:
239 name: fake_async 239 name: fake_async
240 - sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" 240 + sha256: "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44"
241 url: "https://pub.dev" 241 url: "https://pub.dev"
242 source: hosted 242 source: hosted
243 - version: "1.3.1" 243 + version: "1.3.3"
244 ffi: 244 ffi:
245 dependency: transitive 245 dependency: transitive
246 description: 246 description:
@@ -426,7 +426,7 @@ packages: @@ -426,7 +426,7 @@ packages:
426 dependency: transitive 426 dependency: transitive
427 description: 427 description:
428 path: image_cropper_for_web 428 path: image_cropper_for_web
429 - ref: "br_v9.1.0_ohos" 429 + ref: "65c2c99891882ea59732959a672f3d5993a837bb"
430 resolved-ref: "65c2c99891882ea59732959a672f3d5993a837bb" 430 resolved-ref: "65c2c99891882ea59732959a672f3d5993a837bb"
431 url: "https://gitcode.com/openharmony-sig/fluttertpc_image_cropper.git" 431 url: "https://gitcode.com/openharmony-sig/fluttertpc_image_cropper.git"
432 source: git 432 source: git
@@ -435,7 +435,7 @@ packages: @@ -435,7 +435,7 @@ packages:
435 dependency: transitive 435 dependency: transitive
436 description: 436 description:
437 path: image_cropper_platform_interface 437 path: image_cropper_platform_interface
438 - ref: "br_v9.1.0_ohos" 438 + ref: "65c2c99891882ea59732959a672f3d5993a837bb"
439 resolved-ref: "65c2c99891882ea59732959a672f3d5993a837bb" 439 resolved-ref: "65c2c99891882ea59732959a672f3d5993a837bb"
440 url: "https://gitcode.com/openharmony-sig/fluttertpc_image_cropper.git" 440 url: "https://gitcode.com/openharmony-sig/fluttertpc_image_cropper.git"
441 source: git 441 source: git
@@ -517,10 +517,10 @@ packages: @@ -517,10 +517,10 @@ packages:
517 dependency: "direct main" 517 dependency: "direct main"
518 description: 518 description:
519 name: intl 519 name: intl
520 - sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf 520 + sha256: "3df61194eb431efc39c4ceba583b95633a403f46c9fd341e550ce0bfa50e9aa5"
521 url: "https://pub.dev" 521 url: "https://pub.dev"
522 source: hosted 522 source: hosted
523 - version: "0.19.0" 523 + version: "0.20.2"
524 io: 524 io:
525 dependency: transitive 525 dependency: transitive
526 description: 526 description:
@@ -549,26 +549,26 @@ packages: @@ -549,26 +549,26 @@ packages:
549 dependency: transitive 549 dependency: transitive
550 description: 550 description:
551 name: leak_tracker 551 name: leak_tracker
552 - sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06" 552 + sha256: "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de"
553 url: "https://pub.dev" 553 url: "https://pub.dev"
554 source: hosted 554 source: hosted
555 - version: "10.0.7" 555 + version: "11.0.2"
556 leak_tracker_flutter_testing: 556 leak_tracker_flutter_testing:
557 dependency: transitive 557 dependency: transitive
558 description: 558 description:
559 name: leak_tracker_flutter_testing 559 name: leak_tracker_flutter_testing
560 - sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379" 560 + sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1"
561 url: "https://pub.dev" 561 url: "https://pub.dev"
562 source: hosted 562 source: hosted
563 - version: "3.0.8" 563 + version: "3.0.10"
564 leak_tracker_testing: 564 leak_tracker_testing:
565 dependency: transitive 565 dependency: transitive
566 description: 566 description:
567 name: leak_tracker_testing 567 name: leak_tracker_testing
568 - sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" 568 + sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1"
569 url: "https://pub.dev" 569 url: "https://pub.dev"
570 source: hosted 570 source: hosted
571 - version: "3.0.1" 571 + version: "3.0.2"
572 lints: 572 lints:
573 dependency: transitive 573 dependency: transitive
574 description: 574 description:
@@ -597,10 +597,10 @@ packages: @@ -597,10 +597,10 @@ packages:
597 dependency: transitive 597 dependency: transitive
598 description: 598 description:
599 name: matcher 599 name: matcher
600 - sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb 600 + sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2
601 url: "https://pub.dev" 601 url: "https://pub.dev"
602 source: hosted 602 source: hosted
603 - version: "0.12.16+1" 603 + version: "0.12.17"
604 material_color_utilities: 604 material_color_utilities:
605 dependency: transitive 605 dependency: transitive
606 description: 606 description:
@@ -613,10 +613,10 @@ packages: @@ -613,10 +613,10 @@ packages:
613 dependency: transitive 613 dependency: transitive
614 description: 614 description:
615 name: meta 615 name: meta
616 - sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7 616 + sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394"
617 url: "https://pub.dev" 617 url: "https://pub.dev"
618 source: hosted 618 source: hosted
619 - version: "1.15.0" 619 + version: "1.17.0"
620 mime: 620 mime:
621 dependency: transitive 621 dependency: transitive
622 description: 622 description:
@@ -645,10 +645,10 @@ packages: @@ -645,10 +645,10 @@ packages:
645 dependency: transitive 645 dependency: transitive
646 description: 646 description:
647 name: path 647 name: path
648 - sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" 648 + sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5"
649 url: "https://pub.dev" 649 url: "https://pub.dev"
650 source: hosted 650 source: hosted
651 - version: "1.9.0" 651 + version: "1.9.1"
652 path_provider: 652 path_provider:
653 dependency: transitive 653 dependency: transitive
654 description: 654 description:
@@ -966,18 +966,18 @@ packages: @@ -966,18 +966,18 @@ packages:
966 dependency: transitive 966 dependency: transitive
967 description: 967 description:
968 name: stack_trace 968 name: stack_trace
969 - sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377" 969 + sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1"
970 url: "https://pub.dev" 970 url: "https://pub.dev"
971 source: hosted 971 source: hosted
972 - version: "1.12.0" 972 + version: "1.12.1"
973 stream_channel: 973 stream_channel:
974 dependency: transitive 974 dependency: transitive
975 description: 975 description:
976 name: stream_channel 976 name: stream_channel
977 - sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 977 + sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d"
978 url: "https://pub.dev" 978 url: "https://pub.dev"
979 source: hosted 979 source: hosted
980 - version: "2.1.2" 980 + version: "2.1.4"
981 stream_transform: 981 stream_transform:
982 dependency: transitive 982 dependency: transitive
983 description: 983 description:
@@ -1006,10 +1006,10 @@ packages: @@ -1006,10 +1006,10 @@ packages:
1006 dependency: "direct main" 1006 dependency: "direct main"
1007 description: 1007 description:
1008 name: table_calendar 1008 name: table_calendar
1009 - sha256: b2896b7c86adf3a4d9c911d860120fe3dbe03c85db43b22fd61f14ee78cdbb63 1009 + sha256: "0c0c6219878b363a2d5f40c7afb159d845f253d061dc3c822aa0d5fe0f721982"
1010 url: "https://pub.dev" 1010 url: "https://pub.dev"
1011 source: hosted 1011 source: hosted
1012 - version: "3.1.3" 1012 + version: "3.2.0"
1013 term_glyph: 1013 term_glyph:
1014 dependency: transitive 1014 dependency: transitive
1015 description: 1015 description:
@@ -1022,10 +1022,10 @@ packages: @@ -1022,10 +1022,10 @@ packages:
1022 dependency: transitive 1022 dependency: transitive
1023 description: 1023 description:
1024 name: test_api 1024 name: test_api
1025 - sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c" 1025 + sha256: ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55
1026 url: "https://pub.dev" 1026 url: "https://pub.dev"
1027 source: hosted 1027 source: hosted
1028 - version: "0.7.3" 1028 + version: "0.7.7"
1029 timing: 1029 timing:
1030 dependency: transitive 1030 dependency: transitive
1031 description: 1031 description:
@@ -1054,10 +1054,10 @@ packages: @@ -1054,10 +1054,10 @@ packages:
1054 dependency: transitive 1054 dependency: transitive
1055 description: 1055 description:
1056 name: vector_math 1056 name: vector_math
1057 - sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" 1057 + sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b
1058 url: "https://pub.dev" 1058 url: "https://pub.dev"
1059 source: hosted 1059 source: hosted
1060 - version: "2.1.4" 1060 + version: "2.2.0"
1061 vm_service: 1061 vm_service:
1062 dependency: transitive 1062 dependency: transitive
1063 description: 1063 description:
@@ -1111,8 +1111,8 @@ packages: @@ -1111,8 +1111,8 @@ packages:
1111 dependency: transitive 1111 dependency: transitive
1112 description: 1112 description:
1113 path: "packages/webview_flutter/webview_flutter_android" 1113 path: "packages/webview_flutter/webview_flutter_android"
1114 - ref: "br_webview_flutter-v4.13.0_ohos"  
1115 - resolved-ref: ecd3d0b6195945ee0660c324d45f1acbc6198cc3 1114 + ref: de942e79c9057b32ad31106508bd87c0d60aef83
  1115 + resolved-ref: de942e79c9057b32ad31106508bd87c0d60aef83
1116 url: "https://gitcode.com/openharmony-tpc/flutter_packages.git" 1116 url: "https://gitcode.com/openharmony-tpc/flutter_packages.git"
1117 source: git 1117 source: git
1118 version: "4.7.0" 1118 version: "4.7.0"
@@ -1120,8 +1120,8 @@ packages: @@ -1120,8 +1120,8 @@ packages:
1120 dependency: transitive 1120 dependency: transitive
1121 description: 1121 description:
1122 path: "packages/webview_flutter/webview_flutter_ohos" 1122 path: "packages/webview_flutter/webview_flutter_ohos"
1123 - ref: "br_webview_flutter-v4.13.0_ohos"  
1124 - resolved-ref: ecd3d0b6195945ee0660c324d45f1acbc6198cc3 1123 + ref: de942e79c9057b32ad31106508bd87c0d60aef83
  1124 + resolved-ref: de942e79c9057b32ad31106508bd87c0d60aef83
1125 url: "https://gitcode.com/openharmony-tpc/flutter_packages.git" 1125 url: "https://gitcode.com/openharmony-tpc/flutter_packages.git"
1126 source: git 1126 source: git
1127 version: "4.7.0" 1127 version: "4.7.0"
@@ -1129,8 +1129,8 @@ packages: @@ -1129,8 +1129,8 @@ packages:
1129 dependency: transitive 1129 dependency: transitive
1130 description: 1130 description:
1131 path: "packages/webview_flutter/webview_flutter_platform_interface" 1131 path: "packages/webview_flutter/webview_flutter_platform_interface"
1132 - ref: "br_webview_flutter-v4.13.0_ohos"  
1133 - resolved-ref: ecd3d0b6195945ee0660c324d45f1acbc6198cc3 1132 + ref: de942e79c9057b32ad31106508bd87c0d60aef83
  1133 + resolved-ref: de942e79c9057b32ad31106508bd87c0d60aef83
1134 url: "https://gitcode.com/openharmony-tpc/flutter_packages.git" 1134 url: "https://gitcode.com/openharmony-tpc/flutter_packages.git"
1135 source: git 1135 source: git
1136 version: "2.13.1" 1136 version: "2.13.1"
@@ -1138,8 +1138,8 @@ packages: @@ -1138,8 +1138,8 @@ packages:
1138 dependency: transitive 1138 dependency: transitive
1139 description: 1139 description:
1140 path: "packages/webview_flutter/webview_flutter_wkwebview" 1140 path: "packages/webview_flutter/webview_flutter_wkwebview"
1141 - ref: "br_webview_flutter-v4.13.0_ohos"  
1142 - resolved-ref: ecd3d0b6195945ee0660c324d45f1acbc6198cc3 1141 + ref: de942e79c9057b32ad31106508bd87c0d60aef83
  1142 + resolved-ref: de942e79c9057b32ad31106508bd87c0d60aef83
1143 url: "https://gitcode.com/openharmony-tpc/flutter_packages.git" 1143 url: "https://gitcode.com/openharmony-tpc/flutter_packages.git"
1144 source: git 1144 source: git
1145 version: "3.22.0" 1145 version: "3.22.0"
@@ -1160,5 +1160,5 @@ packages: @@ -1160,5 +1160,5 @@ packages:
1160 source: hosted 1160 source: hosted
1161 version: "3.1.3" 1161 version: "3.1.3"
1162 sdks: 1162 sdks:
1163 - dart: ">=3.6.2 <4.0.0" 1163 + dart: ">=3.8.0-0 <4.0.0"
1164 flutter: ">=3.27.0" 1164 flutter: ">=3.27.0"