Skip to content

Commit

Permalink
Removed MNAlertWindow
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhajas committed Apr 13, 2011
1 parent 1b96e23 commit b717d3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions MNAlertManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#import "MNLockScreenViewController.h"
#import "MNAlertData.h"
#import "MNAlertViewController.h"
#import "MNAlertWindow.h"
#import "MNWhistleBlowerController.h"
#import "MNPreferenceManager.h"

Expand All @@ -57,7 +56,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

bool alertIsShowing;

MNAlertWindow *alertWindow;
UIWindow *alertWindow;
MNAlertViewController *pendingAlertViewController;

MNAlertDashboardViewController *dashboard;
Expand Down Expand Up @@ -86,7 +85,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-(void)clearPending;
-(void)alertShouldGoLaterTimerFired:(id)sender;

@property (nonatomic, retain) MNAlertWindow *alertWindow;
@property (nonatomic, retain) UIWindow *alertWindow;

@property (nonatomic, retain) NSMutableArray *pendingAlerts;
@property (nonatomic, retain) NSMutableArray *dismissedAlerts;
Expand Down
2 changes: 1 addition & 1 deletion MNAlertManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ -(id)init
//Let's hope the NSObject init doesn't fail!
if(self != nil)
{
alertWindow = [[MNAlertWindow alloc] initWithFrame:CGRectMake(0,20,320,0)]; //Measured to be zero, we don't want to mess up interaction with views below! Also, we live below the status bar
alertWindow = [[UIWindow alloc] initWithFrame:CGRectMake(0,20,320,0)]; //Measured to be zero, we don't want to mess up interaction with views below! Also, we live below the status bar
alertWindow.windowLevel = 990; //Don't mess around with WindowPlaner or SBSettings if the user has it installed :)
alertWindow.userInteractionEnabled = YES;
alertWindow.hidden = NO;
Expand Down

0 comments on commit b717d3a

Please sign in to comment.