diff --git a/StartPlan.tsx b/StartPlan.tsx index 9d5b89e..de0a348 100644 --- a/StartPlan.tsx +++ b/StartPlan.tsx @@ -99,6 +99,7 @@ export default function StartPlan() { (+weight > best.weight || (+reps > best.reps && +weight === best.weight)) ) toast("Great work King! That's a new record.") + if (!settings.alarm) return const milliseconds = Number(best.minutes) * 60 * 1000 + Number(best.seconds) * 1000 const {vibrate, sound, noSound} = settings diff --git a/StartPlanItem.tsx b/StartPlanItem.tsx index 1c0c6dd..2ee8245 100644 --- a/StartPlanItem.tsx +++ b/StartPlanItem.tsx @@ -6,7 +6,6 @@ import { Menu, ProgressBar, RadioButton, - Text, useTheme, } from 'react-native-paper' import {Like} from 'typeorm'