Skip to content

Commit

Permalink
Remove extra NSLog
Browse files Browse the repository at this point in the history
  • Loading branch information
yury committed Dec 3, 2018
1 parent 1c72a05 commit d7cc43c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion Blink/LayoutManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ @implementation SafeLayoutViewController

- (void)updateKbBottomSafeMargins:(CGFloat)bottomInset {
if (_kbSafeMargins.bottom != bottomInset) {
NSLog(@"Update KB! %@", @(bottomInset));
_kbSafeMargins.bottom = bottomInset;
[self viewKbMarginsDidChange];
}
Expand Down
1 change: 0 additions & 1 deletion Blink/SpaceController.m
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,6 @@ - (void)_keyboardWillChangeFrame:(NSNotification *)sender

UIView *accessoryView = _termInput.inputAccessoryView;
CGFloat accessoryHeight = accessoryView.frame.size.height;
NSLog(@"accessory view: %@", accessoryView);
if (bottomInset > 80) {
accessoryView.hidden = NO;
_termInput.softwareKB = YES;
Expand Down
6 changes: 1 addition & 5 deletions Blink/TermView.m
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,6 @@ - (void)_willResignActive
return;
}

NSLog(@"- (void)_willResignActive");

if (@available(iOS 11.0, *)) {
[_webView takeSnapshotWithConfiguration:nil completionHandler:^(UIImage * _Nullable snapshotImage, NSError * _Nullable error) {
_snapshotImageView.image = snapshotImage;
Expand Down Expand Up @@ -206,9 +204,7 @@ - (void)_delayedDidBecomeActive
if (_webView.superview) {
return;
}

NSLog(@"- (void)_delayedDidBecomeActive");


[self insertSubview:_webView belowSubview:_snapshotImageView];
[_snapshotImageView removeFromSuperview];
[self setNeedsLayout];
Expand Down

0 comments on commit d7cc43c

Please sign in to comment.