bitkit
bitkit copied to clipboard
Do not show contacts/profile onboarding if wallet was recovered from a backup
Describe the bug I wave a wallet with slashtags profile and a list of contacts. When I recover it from a seed it gets my profile and contacts list just fine. But when I click on a contacts button, it shows contacts onboarding screens. Same for Profile. I think this can be skipped.
Hmmm, I will test this again after Bitkit backpack backup is in place, it should be how this problem is solved! (restoring Redux state)
This seems to have gotten a little bit worse. In a restored wallet, you can no longer see your normal profile screen. It always forces you into the Edit mode, with no way to close the editor.
@BitcoinErrorLog I think this is a separate error, which has to do with the fact that having many links push the save button too low. opened https://github.com/synonymdev/bitkit/issues/879
But yes you shouldn't go through the onboarding anyway if you are restoring from Bitkit.
The question is, how can we till if the restored wallet was indeed made in Bitkit previously? The best I can do here is either: 1- Make the assumption and never show the onboarding to anyone restoring a wallet. 2- If they are restoring online, and they created profile / added contacts, and the seeder has their data, and they got it fast enough, then I shouldn't show the onboarding.
Any ideas?
Apparently, https://github.com/synonymdev/bitkit/issues/706 should solve this!