Skip to content

Commit

Permalink
[Activity Indicator] Don't call UIAppearance in +initialize (#2810)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianegordon authored and Robert Moore committed Jan 5, 2018
1 parent c88a059 commit a63e861
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions components/ActivityIndicator/src/MDCActivityIndicator.m
Expand Up @@ -135,13 +135,6 @@ - (instancetype)initWithCoder:(NSCoder *)coder {
return self;
}

+ (void)initialize {
// Ensure we do not set the UIAppearance proxy if subclasses are initialized
if (self == [MDCActivityIndicator class]) {
[MDCActivityIndicator appearance].cycleColors = [MDCActivityIndicator defaultCycleColors];
}
}

- (void)dealloc {
[[NSNotificationCenter defaultCenter] removeObserver:self];
}
Expand Down

0 comments on commit a63e861

Please sign in to comment.