Skip to content

Commit

Permalink
added flag
Browse files Browse the repository at this point in the history
  • Loading branch information
silkroadnomad committed Mar 8, 2024
1 parent 0d455d3 commit ba5f82c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/lib/components/OnBoarding.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,16 @@
}
}
let scannedContact
let requested
$:{
if(!scannedContact &&
$connectedPeers>1 && //if connected
if($connectedPeers>1 && //if connected
$did!==undefined &&
$orbitdb!==undefined &&
$dbMyAddressBook.access!==undefined)
$dbMyAddressBook.access!==undefined){
requestAddress($did)
requested = true
}
}
Expand Down

0 comments on commit ba5f82c

Please sign in to comment.