Since there's now an easy to access button to logout of Damus on the
side bar I didn't see a need for another logout button in the config
view.
Changelog-Changed: Remove redundant logout button from settings
Closes: #378
Section(NSLocalizedString("Public Account ID",comment:"Section title for the user's public account ID.")){
HStack{
Text(state.keypair.pubkey_bech32)
CopyButton(is_pk:true)
}
.clipShape(RoundedRectangle(cornerRadius:5))
}
ifletsec=state.keypair.privkey_bech32{
Section(NSLocalizedString("Secret Account Login Key",comment:"Section title for user's secret account login key.")){
HStack{
@ -64,14 +63,14 @@ struct ConfigView: View {
Text(sec)
.clipShape(RoundedRectangle(cornerRadius:5))
}
CopyButton(is_pk:false)
}
Toggle(NSLocalizedString("Show",comment:"Toggle to show or hide user's secret account login key."),isOn:$show_privkey)
}
}
Section(NSLocalizedString("Wallet Selector",comment:"Section title for selection of wallet.")){
Toggle(NSLocalizedString("Show wallet selector",comment:"Toggle to show or hide selection of wallet."),isOn:$user_settings.show_wallet_selector).toggleStyle(.switch)
Picker(NSLocalizedString("Select default wallet",comment:"Prompt selection of user's default wallet"),