Explorar o código

adapt border colors when changing from light mode to dark mode

cyberta %!s(int64=4) %!d(string=hai) anos
pai
achega
86d3a6cc0a
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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 {