Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ABW-2366] Make it possible to import mnemonic controlling MANY accounts #803

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ extension AccountsClient: DependencyKey {
getAccountsOnNetwork: getAccountsOnNetwork,
newVirtualAccount: { request in
let networkID = request.networkID
let profile = await getProfileStore().profile
let numberOfExistingAccounts = await nextAccountIndex(networkID)
return try Profile.Network.Account(
networkID: networkID,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ extension DisplayEntitiesControlledByMnemonic {
}
}
}

VStack(alignment: .leading, spacing: .small3) {
ForEach(viewStore.accountsForDeviceFactorSource.accounts) { account in
SmallAccountCard(account: account)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,11 @@ extension ImportMnemonicControllingAccounts {
.cornerRadius(.small2)
}

DisplayEntitiesControlledByMnemonic.View(
store: store.scope(state: \.entities, action: { .child(.entities($0)) })
)
ScrollView {
DisplayEntitiesControlledByMnemonic.View(
store: store.scope(state: \.entities, action: { .child(.entities($0)) })
)
}
}
.padding(.horizontal, .medium3)
.footer {
Expand Down
Loading