remove legacy ln method

This commit is contained in:
Blake Kaufman
2026-07-21 15:11:15 -04:00
parent aa8b844c38
commit 3e1d38076c
@@ -35,7 +35,6 @@ export default function HalfModalDepositFunds({
setBackNav,
theme,
darkModeType,
showLightning = false,
}) {
const [activeView, setActiveView] = useState('options');
const [qrConfig, setQrConfig] = useState(null);
@@ -260,53 +259,11 @@ export default function HalfModalDepositFunds({
>
<ThemeText
styles={styles.stepTitle}
content={
showLightning
? t('wallet.halfModal.chooseMethodTitle')
: t('wallet.halfModal.selectMethodTitle')
}
content={t('wallet.halfModal.selectMethodTitle')}
/>
<ScrollView
contentContainerStyle={{ flexGrow: 1, paddingBottom: bottomPadding }}
>
{/* Lightning Invoice */}
{showLightning && (
<TouchableOpacity
style={styles.scanButton}
onPress={() => showView('lightning')}
>
<View
style={[
styles.scanIconContainer,
{
backgroundColor:
theme && darkModeType ? backgroundColor : COLORS.primary,
},
]}
>
<Image
source={ICONS.lightningReceiveIcon}
style={[
styles.rowIcon,
{ tintColor: 'white', width: 15, height: 20 },
]}
/>
</View>
<View style={styles.scanTextContainer}>
<ThemeText
styles={styles.scanButtonText}
content={t('wallet.halfModal.lightningInvoice')}
/>
<ThemeText
styles={styles.scanButtonSubtext}
content={t('wallet.halfModal.lightningInvoiceSubtitle')}
/>
</View>
<ThemeIcon iconName={'ChevronRight'} size={18} />
</TouchableOpacity>
)}
{/* On-Chain Bitcoin */}
<TouchableOpacity
style={styles.scanButton}