From ed2627bd8773bd2c4753ef4c2585eab7f904cb9b Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 8 Jan 2018 13:02:56 +0100 Subject: [PATCH 1/2] Fixed keyboard color when entering bug report (#1720) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Dawid Rączka --- Riot/ViewController/BugReportViewController.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Riot/ViewController/BugReportViewController.m b/Riot/ViewController/BugReportViewController.m index 752483165..c6ee13ff9 100644 --- a/Riot/ViewController/BugReportViewController.m +++ b/Riot/ViewController/BugReportViewController.m @@ -79,6 +79,7 @@ _bugReportDescriptionTextView.layer.borderWidth = 1.0f; _bugReportDescriptionTextView.text = nil; _bugReportDescriptionTextView.delegate = self; + _bugReportDescriptionTextView.keyboardAppearance = kRiotKeyboard; if (_reportCrash) { From a5557483032a01825ce2fd865a38d8fb74d9b441 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Ra=CC=A8czka?= Date: Mon, 8 Jan 2018 17:26:31 +0100 Subject: [PATCH 2/2] Moved fix to userInterfaceThemeDidChange method. --- Riot/ViewController/BugReportViewController.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Riot/ViewController/BugReportViewController.m b/Riot/ViewController/BugReportViewController.m index c6ee13ff9..b9f98ce42 100644 --- a/Riot/ViewController/BugReportViewController.m +++ b/Riot/ViewController/BugReportViewController.m @@ -79,7 +79,6 @@ _bugReportDescriptionTextView.layer.borderWidth = 1.0f; _bugReportDescriptionTextView.text = nil; _bugReportDescriptionTextView.delegate = self; - _bugReportDescriptionTextView.keyboardAppearance = kRiotKeyboard; if (_reportCrash) { @@ -148,6 +147,8 @@ self.containerView.backgroundColor = kRiotPrimaryBgColor; self.sendingContainer.backgroundColor = kRiotPrimaryBgColor; + self.bugReportDescriptionTextView.keyboardAppearance = kRiotKeyboard; + self.titleLabel.textColor = kRiotPrimaryTextColor; self.sendingLabel.textColor = kRiotPrimaryTextColor; self.descriptionLabel.textColor = kRiotPrimaryTextColor;