Skip to content

Commit 5d46685

Browse files
div-LeoLeonardo Di Vittorio
and
Leonardo Di Vittorio
authored
feat(filePicker): add alwaysShowActionButton to mobile (#303)
Co-authored-by: Leonardo Di Vittorio <[email protected]>
1 parent 44b7c00 commit 5d46685

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/FilePicker/FilePicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ const FilePicker: FC<FilePickerProps> = ({
204204
)}
205205
</Box>
206206
<Box display={{ _: 'flex', medium: 'none' }} alignItems="top">
207-
{validFileSelected ? <CheckCircleOutlineIcon color={ICON_FILE_FEEDBACK_COLOR} /> : <ShareIcon />}
207+
{!alwaysShowActionButton && validFileSelected ? <CheckCircleOutlineIcon color={ICON_FILE_FEEDBACK_COLOR} /> : <ShareIcon />}
208208
</Box>
209209
</Outliner>
210210
</Box>

0 commit comments

Comments
 (0)