From 701ba435b0ef68dfae31cb4859a9327bc533d777 Mon Sep 17 00:00:00 2001 From: ben_29 Date: Mon, 11 Dec 2023 10:25:51 +0800 Subject: [PATCH] fix: Trail Run Marathon --- src/utils/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/utils.ts b/src/utils/utils.ts index cc42bd5fd04..85e5366728d 100644 --- a/src/utils/utils.ts +++ b/src/utils/utils.ts @@ -274,7 +274,7 @@ const typeForRun = (run: Activity): string => { const titleForRun = (run: Activity): string => { const type = run.type; - if (type == 'Run'){ + if (type == 'Run' || type == 'Trail Run'){ const runDistance = run.distance / 1000; if (runDistance >= 40) { return RUN_TITLES.FULL_MARATHON_RUN_TITLE;