Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Commit

Permalink
[client] that classic folders freeze is fixed. remove the workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
kirb committed May 25, 2017
1 parent a469037 commit 3abbef5
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions client/HBTSStatusBarForegroundView.x
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
@interface HBTSStatusBarForegroundView ()

- (void)_typeStatus_init;
- (void)_typeStatus_setUpLayout;

@property (nonatomic, retain) UIView *containerView;
@property (nonatomic, retain) HBTSStatusBarIconItemView *iconItemView;
Expand Down Expand Up @@ -68,13 +67,6 @@
self.contentItemView = [[%c(HBTSStatusBarContentItemView) alloc] initWithItem:[[%c(UIStatusBarItem) alloc] init] data:nil actions:kNilOptions style:self.foregroundStyle];
self.contentItemView.translatesAutoresizingMaskIntoConstraints = NO;
[self.containerView addSubview:self.contentItemView];
}

%new - (void)_typeStatus_setUpLayout {
// if constraints are already set up, no need to do anything
if (self.containerView.constraints.count != 0) {
return;
}

NSDictionary <NSString *, UIView *> *views = @{
@"self": self,
Expand Down Expand Up @@ -142,7 +134,6 @@

self.contentItemView.attributedString = attributedString;

[self _typeStatus_setUpLayout];
[self setNeedsLayout];
}

Expand Down

0 comments on commit 3abbef5

Please sign in to comment.