Skip to content

Commit

Permalink
fix: audio permission modal spacing hiding button (#865)
Browse files Browse the repository at this point in the history
* Fixes full sheet on bottom sheet modal back

* Undoes last change. Takes out padding so permission audio fits.
  • Loading branch information
cimigree authored Dec 3, 2024
1 parent ff304b0 commit 718496c
Showing 1 changed file with 17 additions and 19 deletions.
36 changes: 17 additions & 19 deletions src/frontend/screens/Audio/PermissionAudioBottomSheetContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,24 +103,22 @@ export const PermissionAudioBottomSheetContent: FC<
: t(m.allowButtonText);

return (
<View style={{paddingTop: 80}}>
<BottomSheetModalContent
icon={<AudioPermission />}
title={t(m.title)}
description={t(m.description)}
buttonConfigs={[
{
variation: 'outlined',
onPress: closeSheet,
text: t(m.notNowButtonText),
},
{
variation: 'filled',
onPress: onPressActionButton,
text: actionButtonText,
},
]}
/>
</View>
<BottomSheetModalContent
icon={<AudioPermission />}
title={t(m.title)}
description={t(m.description)}
buttonConfigs={[
{
variation: 'outlined',
onPress: closeSheet,
text: t(m.notNowButtonText),
},
{
variation: 'filled',
onPress: onPressActionButton,
text: actionButtonText,
},
]}
/>
);
};

0 comments on commit 718496c

Please sign in to comment.