clean up dead code

This commit is contained in:
Benjamin Hakes
2022-12-29 15:03:36 -06:00
parent 429a765d42
commit 79c42544d9
2 changed files with 4 additions and 57 deletions

View File

@@ -83,8 +83,9 @@ struct ConfigView: View {
Section("Wallet Selector") {
Toggle("Show wallet selector", isOn: $user_settings.showWalletSelector).toggleStyle(.switch)
Picker(selection: $user_settings.defaultWallet, label: Text("Select default wallet"), content: {
List($walletModels) { $wallet in
Picker(selection: $user_settings.defaultWallet,
label: Text("Select default wallet"), content: {
ForEach(walletModels) { wallet in
Text(wallet.displayName)
.tag(wallet.tag)
}