Commit 9771f233 authored by hannes's avatar hannes
Browse files

categorized UI activated

TODO: there are still no mails displayed
parent 2031ac91
......@@ -53,6 +53,8 @@ class StudySettings {
static var securityIndicator: SecurityIndicator = SecurityIndicator.load() as! SecurityIndicator
static var invitationsmode: Inviation = Inviation.load() as! Inviation
static var showCategorizedInterface = true
public static var invitationEnabled: Bool {
get {
return false
......
......@@ -30,12 +30,21 @@ struct LetterboxApp: App {
case .GENERATEKEYS:
PermissionRequestView() // TODO Wait
case .LAUNCHEDBEFORE:
FolderListView()
.environment(\.managedObjectContext,
PersistentDataProvider
.dataProvider
.persistentContainer
.viewContext)
if StudySettings.showCategorizedInterface {
InboxHome(controller: HomeModel())
//.navigationBarItems(leading: self.folderButton)
.environment(\.managedObjectContext, PersistentDataProvider
.dataProvider
.persistentContainer
.viewContext)
}else{
FolderListView()
.environment(\.managedObjectContext,
PersistentDataProvider
.dataProvider
.persistentContainer
.viewContext)
}
}
}
}
......
......@@ -454,3 +454,36 @@
"ReadView.PrefilledMail.AskForResend.Body" = "Hey, \nI could not decrypt your last email because I do not have the secret key. Can you resend the email again and encrypt the email for the attachted secret key? Thank you and best regards";
"Home"="Home";
//Mark: Categories
//Category-names
"Category.OldInbox.name" = "Classic Inbox";
"Category.Files.name" = "Files";
"Category.Chats.name" = "Chats and People";
"Category.Screener.name" = "Unsorted";
"Classic Inbox"="Classic Inbox";
//other
"Filename"="File name";
"Open Email"="open this mail";
//Sort
"Sort By"="Sort by: ";
"sort.recent"="recent";
"sort.static"="static";
"open mail in standard view"="open mail";
//Options
"Mark as unread"="mark as unread";
"Info"="Info";
"Reply all"="reply all";
"Reply"="reply";
"Forward"="forward";
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment