File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 28
28
29
29
let selectedWalletModule;
30
30
31
- const { mobileDevice , autoSelectWallet } = get (app);
31
+ const { mobileDevice } = get (app);
32
32
const { wallets , heading , description } = module ;
33
33
const deviceWallets = wallets[mobileDevice ? " mobile" : " desktop" ];
34
34
35
- if (autoSelectWallet) {
36
- const module = deviceWallets .find (m => m .name === autoSelectWallet);
35
+ $ : if ($app . autoSelectWallet ) {
36
+ const module = deviceWallets .find (m => m .name === $app . autoSelectWallet );
37
37
handleWalletSelect (module );
38
38
}
39
39
51
51
}
52
52
53
53
// set the data to show in the modal if wallet hasn't been auto selected
54
- modalData = ! autoSelectWallet && {
54
+ modalData = ! $app . autoSelectWallet && {
55
55
heading,
56
56
description,
57
57
primaryWallets,
103
103
app .update (store => ({
104
104
... store,
105
105
walletSelectInProgress: false ,
106
- walletSelectCompleted: completed
106
+ walletSelectCompleted: completed,
107
+ autoSelect: false
107
108
}));
108
109
}
109
110
</script >
You can’t perform that action at this time.
0 commit comments