mirror of
https://github.com/minibits-cash/minibits_wallet.git
synced 2026-10-05 19:28:26 +00:00
Fix modals margin
This commit is contained in:
Vendored
+1
-1
@@ -1 +1 @@
|
||||
0197c033-5e1b-7c4c-8616-0b3f13e30e3c
|
||||
0197d01d-0115-7bfc-8979-6d3951074da7
|
||||
@@ -404,7 +404,7 @@ export const PrivateContacts = observer(function (props: {
|
||||
|
||||
|
||||
const $screen: ViewStyle = {
|
||||
flex: 1,
|
||||
// flex: 1,
|
||||
}
|
||||
|
||||
const $contentContainer: TextStyle = {
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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'}}
|
||||
|
||||
Reference in New Issue
Block a user