Merge pull request #6186 from vector-im/release/1.8.16/release

Release 1.8.16
This commit is contained in:
Anderas
2022-05-19 18:20:12 +01:00
committed by GitHub
6 changed files with 24 additions and 6 deletions

View File

@@ -1,3 +1,15 @@
## Changes in 1.8.16 (2022-05-19)
🙌 Improvements
- Upgrade MatrixSDK version ([v0.23.6](https://github.com/matrix-org/matrix-ios-sdk/releases/tag/v0.23.6)).
🐛 Bugfixes
- Fixed home screen shrinking too much on opening the keyboard. ([#6184](https://github.com/vector-im/element-ios/pull/6184))
- Fixed filtering search bar not resetting properly when cancelling or switching tabs. ([#6130](https://github.com/vector-im/element-ios/issues/6130))
## Changes in 1.8.15 (2022-05-18)
✨ Features

View File

@@ -15,5 +15,5 @@
//
// Version
MARKETING_VERSION = 1.8.15
CURRENT_PROJECT_VERSION = 1.8.15
MARKETING_VERSION = 1.8.16
CURRENT_PROJECT_VERSION = 1.8.16

View File

@@ -13,7 +13,7 @@ use_frameworks!
# - `{ :specHash => {sdk spec hash}` to depend on specific pod options (:git => …, :podspec => …) for MatrixSDK repo. Used by Fastfile during CI
#
# Warning: our internal tooling depends on the name of this variable name, so be sure not to change it
$matrixSDKVersion = '= 0.23.5'
$matrixSDKVersion = '= 0.23.6'
# $matrixSDKVersion = :local
# $matrixSDKVersion = { :branch => 'develop'}
# $matrixSDKVersion = { :specHash => { git: 'https://git.io/fork123', branch: 'fix' } }

View File

@@ -2274,7 +2274,8 @@ NSString *const RecentsViewControllerDataReadyNotification = @"RecentsViewContro
self.recentsTableView.contentOffset = CGPointMake(0, self.recentsSearchBar.frame.size.height);
self.recentsTableView.tableHeaderView = nil;
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
[self refreshRecentsTable];
[self.recentsDataSource searchWithPatterns:nil];
[self.recentsSearchBar setText:nil];
});
}

View File

@@ -114,7 +114,7 @@
[recentsDataSource setDelegate:self andRecentsDataSourceMode:RecentsDataSourceModeHome];
// Reset filtering on the shared data source when switching tabs
[self searchBarCancelButtonClicked:self.recentsSearchBar];
[recentsDataSource searchWithPatterns:nil];
[self.recentsSearchBar setText:nil];
}
}

View File

@@ -44,11 +44,16 @@ class HomeViewControllerWithBannerWrapperViewController: UIViewController, MXKVi
view.backgroundColor = .clear
stackView = UIStackView()
stackView.translatesAutoresizingMaskIntoConstraints = false
stackView.axis = .vertical
stackView.distribution = .fill
stackView.alignment = .fill
view.vc_addSubViewMatchingParentSafeArea(stackView)
view.addSubview(stackView)
NSLayoutConstraint.activate([stackView.topAnchor.constraint(equalTo: self.view.safeAreaLayoutGuide.topAnchor),
stackView.leftAnchor.constraint(equalTo: self.view.leftAnchor),
stackView.rightAnchor.constraint(equalTo: self.view.rightAnchor),
stackView.bottomAnchor.constraint(equalTo: self.view.bottomAnchor)])
addChild(homeViewController)
stackView.addArrangedSubview(homeViewController.view)