Merge branch 'develop' into element_3816

# Conflicts:
#	CHANGES.rst
#	Riot/Modules/BugReport/BugReportViewController.m
This commit is contained in:
Gil Eluard
2021-01-11 12:18:30 +01:00
73 changed files with 2240 additions and 91 deletions

View File

@@ -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