feat(water): 后台任务同步HealthKit饮水记录并优化目标读取逻辑

This commit is contained in:
richarjiang
2025-09-30 15:10:48 +08:00
parent 3e6f55d804
commit 47c8bfc5bc
2 changed files with 43 additions and 8 deletions

View File

@@ -7,19 +7,19 @@ import { useAuthGuard } from '@/hooks/useAuthGuard';
import { useColorScheme } from '@/hooks/useColorScheme';
import {
fetchChallengeDetail,
fetchChallengeRankings,
joinChallenge,
leaveChallenge,
reportChallengeProgress,
fetchChallengeRankings,
selectChallengeById,
selectChallengeDetailError,
selectChallengeDetailStatus,
selectChallengeRankingList,
selectJoinError,
selectJoinStatus,
selectLeaveError,
selectLeaveStatus,
selectProgressStatus,
selectChallengeRankingList
selectProgressStatus
} from '@/store/challengesSlice';
import { Toast } from '@/utils/toast.utils';
import { Ionicons } from '@expo/vector-icons';