浏览代码

adapt border colors when changing from light mode to dark mode

cyberta 4 年之前
父节点
当前提交
86d3a6cc0a
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      deltachat-ios/Chat/ChatViewController.swift

+ 4 - 0
deltachat-ios/Chat/ChatViewController.swift

@@ -733,6 +733,10 @@ class ChatViewController: UITableViewController {
         }
         _ = handleUIMenu()
     }
+    
+    override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
+        scrollDownButton.layer.borderColor = DcColors.colorDisabled.cgColor
+    }
 
     func configureMessageStyle(for message: DcMsg, at indexPath: IndexPath) -> UIRectCorner {