Skip to content

Commit

Permalink
2.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cezarywojcik committed Aug 27, 2015
1 parent 0c10312 commit 7eb79da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CWStatusBarNotification.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "CWStatusBarNotification"
s.version = "2.3.2"
s.version = "2.3.3"
s.summary = "A library that creates status bar notifications."
s.description = "CWStatusBarNotification is a library allows you to present a beautiful text-based notification in the status bar."
s.homepage = "https://github.com/cezarywojcik/CWStatusBarNotification"
Expand Down
2 changes: 1 addition & 1 deletion CWStatusBarNotification/CWStatusBarNotification.m
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ - (CWStatusBarNotification *)init
self = [super init];
if (self) {
// set default
if ([[UIApplication sharedApplication] delegate].window != nil) {
if ([[[UIApplication sharedApplication] delegate] respondsToSelector:@selector(window)]) {
self.notificationLabelBackgroundColor = [[UIApplication sharedApplication] delegate].window.tintColor;
} else {
self.notificationLabelBackgroundColor = [UIColor blackColor];
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Works for iPhone and iPad.

### CocoaPods

`pod 'CWStatusBarNotification', '~> 2.3.2'`
`pod 'CWStatusBarNotification', '~> 2.3.3'`

### Manual

Expand Down

0 comments on commit 7eb79da

Please # to comment.