diff --git a/StartPlan.tsx b/StartPlan.tsx index 4fbe2e5..bd96913 100644 --- a/StartPlan.tsx +++ b/StartPlan.tsx @@ -8,6 +8,7 @@ import React, {useCallback, useContext, useMemo, useRef, useState} from 'react'; import {NativeModules, TextInput, View} from 'react-native'; import {FlatList} from 'react-native-gesture-handler'; import {Button, IconButton, List, RadioButton} from 'react-native-paper'; +import {CustomTheme} from './App'; import {getBestSet} from './best.service'; import {PADDING} from './constants'; import CountMany from './count-many'; @@ -36,6 +37,7 @@ export default function StartPlan() { const unitRef = useRef(null); const navigation = useNavigation(); const workouts = useMemo(() => params.plan.workouts.split(','), [params]); + const {color} = useContext(CustomTheme); const [selection, setSelection] = useState({ start: 0, @@ -152,6 +154,7 @@ export default function StartPlan() { )}