Skip to content

Commit

Permalink
add content to function param
Browse files Browse the repository at this point in the history
  • Loading branch information
EtDu committed Oct 15, 2020
1 parent d9a2b37 commit f8c20af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/UI/Navbar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ export function getOfflineModalNavbar(navigation) {
* @returns {Object} - Corresponding navbar options containing headerTitle, headerTitle and headerTitle
*/
export function getWalletNavbarOptions(title, navigation) {
const onScanSuccess = data => {
const onScanSuccess = (data, content) => {
if (data.target_address) {
if (data?.parameters?.value || data?.function_name === 'transfer') {
navigation.navigate('SendView', { txMeta: data });
Expand Down

0 comments on commit f8c20af

Please sign in to comment.