mirror of
https://github.com/yggdrasil-network/yggdrasil-ios.git
synced 2025-04-28 06:05:09 +03:00
Always show peer add button
This commit is contained in:
parent
b0c3d045a3
commit
f0c29a8a3e
1 changed files with 11 additions and 13 deletions
|
@ -98,7 +98,6 @@ struct PeersView: View {
|
|||
.navigationTitle("Peers")
|
||||
#if os(iOS)
|
||||
.toolbar {
|
||||
if editMode!.wrappedValue.isEditing {
|
||||
Button("Add", systemImage: "plus") {
|
||||
//appDelegate.yggdrasilConfig.peers.append("")
|
||||
addPeerURI = ""
|
||||
|
@ -111,7 +110,6 @@ struct PeersView: View {
|
|||
} message: {
|
||||
Text("Specify the peer URI to add.")
|
||||
}
|
||||
}
|
||||
EditButton()
|
||||
.onChange(of: editMode!.wrappedValue) { edit in
|
||||
if !edit.isEditing {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue