Skip to content
Merged
26 changes: 17 additions & 9 deletions app/views/MediaAutoDownloadView/ListPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ const styles = StyleSheet.create({
flex: 1,
justifyContent: 'center',
alignItems: 'flex-end'
},
pickerItem: {
height: 48
Comment thread
Rohit3523 marked this conversation as resolved.
Outdated
}
});

Expand Down Expand Up @@ -71,16 +74,21 @@ const ListPicker = ({

const getOptions = () => (
<View style={{ backgroundColor: colors.surfaceRoom, marginBottom: insets.bottom }}>
<List.Separator />
{OPTIONS.map(i => (
<List.Radio
onPress={() => {
hideActionSheet();
onChangeValue(i.value);
}}
title={i.label}
value={i.value}
isSelected={option.value === i.value}
/>
<>
<List.Radio
onPress={() => {
hideActionSheet();
onChangeValue(i.value);
}}
title={i.label}
value={i.value}
isSelected={option.value === i.value}
style={styles.pickerItem}
/>
<List.Separator />
</>
))}
Comment thread
coderabbitai[bot] marked this conversation as resolved.
</View>
);
Expand Down