Skip to content

Commit 8656610

Browse files
committed
chore: run tidy
1 parent 355f765 commit 8656610

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

ios/TrueSheetContentView.mm

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ - (void)checkScrollViewChanged {
7474
#pragma mark - Scrollable
7575

7676
- (void)setScrollViewContentInset:(CGFloat)contentBottom indicatorInset:(CGFloat)indicatorBottom {
77-
if (!_pinnedScrollView) return;
77+
if (!_pinnedScrollView)
78+
return;
7879

7980
UIEdgeInsets contentInset = _pinnedScrollView.scrollView.contentInset;
8081
contentInset.bottom = contentBottom;
@@ -214,7 +215,7 @@ - (void)keyboardWillShow:(CGFloat)height duration:(NSTimeInterval)duration curve
214215
options:curve | UIViewAnimationOptionBeginFromCurrentState
215216
animations:^{
216217
[self setScrollViewContentInset:height
217-
indicatorInset:self->_originalIndicatorBottomInset + height];
218+
indicatorInset:self->_originalIndicatorBottomInset + height];
218219

219220
if (firstResponder) {
220221
CGRect responderFrame = [firstResponder convertRect:firstResponder.bounds
@@ -236,7 +237,7 @@ - (void)keyboardWillHide:(NSTimeInterval)duration curve:(UIViewAnimationOptions)
236237
options:curve | UIViewAnimationOptionBeginFromCurrentState
237238
animations:^{
238239
[self setScrollViewContentInset:self->_bottomInset
239-
indicatorInset:self->_originalIndicatorBottomInset];
240+
indicatorInset:self->_originalIndicatorBottomInset];
240241
}
241242
completion:nil];
242243
}

0 commit comments

Comments
 (0)