Fix plan not activating on radio button press
If you touched the radio button instead of the workout item itself, it wouldn't toggle.
This commit is contained in:
parent
77db34b310
commit
6238b47e6a
|
@ -176,6 +176,7 @@ export default function StartPlan() {
|
|||
left={() => (
|
||||
<View style={{alignItems: 'center', justifyContent: 'center'}}>
|
||||
<RadioButton
|
||||
onPress={() => select(index)}
|
||||
value={index.toString()}
|
||||
status={selected === index ? 'checked' : 'unchecked'}
|
||||
color={color}
|
||||
|
|
Loading…
Reference in New Issue
Block a user