Fix modals margin

This commit is contained in:
minibits-cash
2025-07-03 14:20:40 +02:00
parent 3b6e1e4461
commit cfbec211a2
4 changed files with 19 additions and 18 deletions
+1 -1
View File
@@ -1 +1 @@
0197c033-5e1b-7c4c-8616-0b3f13e30e3c
0197d01d-0115-7bfc-8979-6d3951074da7
+1 -1
View File
@@ -404,7 +404,7 @@ export const PrivateContacts = observer(function (props: {
const $screen: ViewStyle = {
flex: 1,
// flex: 1,
}
const $contentContainer: TextStyle = {
+1 -1
View File
@@ -227,7 +227,7 @@ export const UpdateScreen = observer(function UpdateScreen({ route }: Props) {
</ScrollView>
<BottomModal
isVisible={isUpdateModalVisible ? true : false}
style={{alignItems: 'stretch', padding: spacing.small}}
style={{alignItems: 'stretch'}}
ContentComponent={
<ResultModalInfo
icon='faDownload'
+16 -15
View File
@@ -739,21 +739,7 @@ export const WalletScreen = observer(function WalletScreen({ route }: Props) {
{info && <InfoModal message={info} />}
{error && <ErrorModal error={error} />}
{isLoading && <Loading />}
<BottomModal
isVisible={isMintsModalVisible ? true : false}
style={{alignItems: 'stretch', padding: spacing.medium}}
ContentComponent={
<MintsByUnitList
mintsByUnit={groupedMints}
currentUnit={currentUnit}
onTopup={gotoTopup}
onLightningPay={gotoLightningPay}
onMintInfo={gotoMintInfo}
/>
}
onBackButtonPress={toggleMintsModal}
onBackdropPress={toggleMintsModal}
/>
<BottomModal
isVisible={isUpdateModalVisible ? true : false}
style={{alignItems: 'stretch'}}
@@ -775,6 +761,21 @@ export const WalletScreen = observer(function WalletScreen({ route }: Props) {
onBackButtonPress={toggleUpdateModal}
onBackdropPress={toggleUpdateModal}
/>
<BottomModal
isVisible={isMintsModalVisible ? true : false}
style={{alignItems: 'stretch'}}
ContentComponent={
<MintsByUnitList
mintsByUnit={groupedMints}
currentUnit={currentUnit}
onTopup={gotoTopup}
onLightningPay={gotoLightningPay}
onMintInfo={gotoMintInfo}
/>
}
onBackButtonPress={toggleMintsModal}
onBackdropPress={toggleMintsModal}
/>
<BottomModal
isVisible={isSendModalVisible ? true : false}
style={{alignItems: 'stretch'}}