Browse Source

cleanup and fix for light mode in ChatViewController

cyberta 5 years ago
parent
commit
d33ff90604
1 changed files with 1 additions and 4 deletions
  1. 1 4
      deltachat-ios/Controller/ChatViewController.swift

+ 1 - 4
deltachat-ios/Controller/ChatViewController.swift

@@ -312,13 +312,10 @@ class ChatViewController: MessagesViewController {
         messageInputBar.delegate = self
         messageInputBar.inputTextView.tintColor = DcColors.primary
         messageInputBar.inputTextView.placeholder = String.localized("chat_input_placeholder")
-        messageInputBar.isTranslucent = true
         messageInputBar.separatorLine.isHidden = true
         messageInputBar.inputTextView.tintColor = DcColors.primary
         messageInputBar.inputTextView.textColor = DcColors.defaultTextColor
-        messageInputBar.backgroundView.backgroundColor = .black
-        messageInputBar.isTranslucent = false
-        //messageInputBar.backgroundColor = DcColors.chatBackgroundColor
+        messageInputBar.backgroundView.backgroundColor = DcColors.chatBackgroundColor
 
         scrollsToBottomOnKeyboardBeginsEditing = true