mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 15:04:50 +01:00
FIX: lnurl scan to receive is not returning the correct view (closes #828)
This commit is contained in:
parent
efa1c52878
commit
84938c655e
2 changed files with 2 additions and 1 deletions
|
@ -210,7 +210,7 @@ export default class LNDCreateInvoice extends Component {
|
|||
<TouchableOpacity
|
||||
disabled={this.state.isLoading}
|
||||
onPress={() => {
|
||||
NavigationService.navigate('ScanQrAddress', { onBarScanned: this.processLnurl });
|
||||
NavigationService.navigate('ScanQrAddress', { onBarScanned: this.processLnurl, launchedBy: this.props.navigation.state.routeName });
|
||||
Keyboard.dismiss();
|
||||
}}
|
||||
style={{
|
||||
|
|
|
@ -14,6 +14,7 @@ const ScanQRCode = ({
|
|||
showCloseButton = true,
|
||||
launchedBy = useNavigationParam('launchedBy'),
|
||||
}) => {
|
||||
if (!launchedBy || !onBarScanned) console.warn('Necessary params missing');
|
||||
const [isLoading, setIsLoading] = useState(false);
|
||||
const { navigate, goBack } = useNavigation();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue