Compare commits
1 Commits
remove-mys
...
tyiu/swap-
| Author | SHA1 | Date | |
|---|---|---|---|
|
cc95402581
|
@@ -102,12 +102,12 @@ struct ConfigView: View {
|
|||||||
.navigationTitle("Settings")
|
.navigationTitle("Settings")
|
||||||
.navigationBarTitleDisplayMode(.large)
|
.navigationBarTitleDisplayMode(.large)
|
||||||
.alert("Logout", isPresented: $confirm_logout) {
|
.alert("Logout", isPresented: $confirm_logout) {
|
||||||
Button("Logout") {
|
|
||||||
notify(.logout, ())
|
|
||||||
}
|
|
||||||
Button("Cancel") {
|
Button("Cancel") {
|
||||||
confirm_logout = false
|
confirm_logout = false
|
||||||
}
|
}
|
||||||
|
Button("Logout") {
|
||||||
|
notify(.logout, ())
|
||||||
|
}
|
||||||
} message: {
|
} message: {
|
||||||
Text("Make sure your nsec account key is saved before you logout or you will lose access to this account")
|
Text("Make sure your nsec account key is saved before you logout or you will lose access to this account")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user