feat(workout): 优化心率图表性能并移除每日总结通知功能
- 重构心率数据采样算法,采用智能采样保留峰值、谷值和变化率大的点 - 减少心率图表最大数据点数和查询限制,提升渲染性能 - 移除图表背景线样式,简化视觉呈现 - 完全移除每日总结通知功能相关代码和调用
This commit is contained in:
@@ -785,7 +785,7 @@ export async function fetchOxygenSaturation(options: HealthDataOptions): Promise
|
||||
export async function fetchHeartRateSamplesForRange(
|
||||
startDate: Date,
|
||||
endDate: Date,
|
||||
limit: number = 2000
|
||||
limit: number = 500
|
||||
): Promise<HeartRateSample[]> {
|
||||
try {
|
||||
const options = {
|
||||
|
||||
Reference in New Issue
Block a user