mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Merge branch 'develop' into element_3816
# Conflicts: # CHANGES.rst # Riot/Modules/BugReport/BugReportViewController.m
This commit is contained in:
@@ -136,6 +136,9 @@
|
||||
|
||||
}];
|
||||
[self userInterfaceThemeDidChange];
|
||||
|
||||
UIGestureRecognizer *recognizer = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(backgroundViewTapped)];
|
||||
[self.view addGestureRecognizer:recognizer];
|
||||
}
|
||||
|
||||
- (void)userInterfaceThemeDidChange
|
||||
@@ -496,4 +499,10 @@
|
||||
[self dismissViewControllerAnimated:YES completion:^{}];
|
||||
}
|
||||
|
||||
- (void)backgroundViewTapped
|
||||
{
|
||||
// Dismiss keyboard if user taps on background view: https://github.com/vector-im/element-ios/issues/3819
|
||||
[self.bugReportDescriptionTextView resignFirstResponder];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user