Skip to content
Snippets Groups Projects
Commit a696e016 authored by goekhan08's avatar goekhan08
Browse files

idButton has been deleted due to redundancy. The idea of this button is...

idButton has been deleted due to redundancy. The idea of this button is already implemented in keyManagementButton (InboxView)
parent e03d6ccd
No related branches found
No related tags found
1 merge request!69Resolve "Add GoTo contact view"
......@@ -25,7 +25,6 @@ struct MailListView: View {
@State var searchField = 0
@State var searchNow = false
@State var composeMail = false
@State var showID = false
init(folderpath: String, name: String) {
fetchRequest = MailRecord.mailsInFolderFetchRequest(folderpath: folderpath)
......@@ -53,7 +52,6 @@ struct MailListView: View {
.padding(-10)
// Toolbar
HStack {
self.idButton
Spacer()
self.lastUpdate
Spacer()
......@@ -73,22 +71,6 @@ struct MailListView: View {
.resignKeyboardOnDragGesture() // hide keyboard when dragging
}
private var idButton: some View {
// Button(action: {
// print("Go to my id")
// }, label: {
// Text(NSLocalizedString("KeyID", comment: "id"))
// })
// }
// NavigationLink (destination: ContactView(contact: mails., fromMail: ReadModel(mail: self.mails.filter(filterKeyRecord)), derivedFromKey: false) {
// What should be the destination vor the button "ID"?
NavigationLink (destination: Text("Destination!")) {
Text(NSLocalizedString("KeyID", comment: "id"))
}
}
private var composeButton: some View {
Button(action: {
composeMail = true
......
......@@ -61,7 +61,6 @@
"Junk" = "Spam";
"KeyAddresses" = "Mailadressen aus dem Schlüssel";
"KeyDetails" = "Schlüsseldetails";
"KeyID" = "ID";
"KeyIsRevoked" = "Der Schlüssel wurde zurückgezogen. Zurückgezogen wurde er am ";
"KeyIsVerified" = "Der Schlüssel ist verifiziert. Verifiziert wurde er am ";
"KeyNotFound" = "Der Schlüssel konnte nicht gefunden werden. Dies ist ein Fehler, bitte wende dich an die Entwickler!";
......
......@@ -61,7 +61,6 @@
"Junk" = "Junk";
"KeyAddresses" = "Mail addresses from the key";
"KeyDetails" = "Key Details";
"KeyID" = "ID";
"KeyIsRevoked" = "The Key was revoked. It was revoked on ";
"KeyIsVerified" = "The Key is verified. It was verified on ";
"KeyNotFound" = "No Key Found. This is an error, contact the developers!";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment