Skip to content

Commit

Permalink
New hide function
Browse files Browse the repository at this point in the history
  • Loading branch information
rivera-ernesto committed Jun 30, 2017
1 parent 57c9631 commit 4cd8c31
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Source/PTEDashboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,12 @@
/// The shared dashboard.
+ (PTEDashboard *)sharedDashboard;

/// Add the dashboard to the screen.
/// Add the dashboard to the screen and show it.
- (void)show;

/// Hide dashboard.
- (void)hide;

/// @name Properties

/// Whether the dashboard is maximized.
Expand Down
5 changes: 5 additions & 0 deletions Source/PTEDashboard.m
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ - (void)show
self.hidden = NO;
self.minimized = YES;
}
- (void)hide
{
self.hidden = YES;
self.minimized = YES;
}

- (void)handleStatusBarOrientationChange:(NSNotification *)notification
{
Expand Down

0 comments on commit 4cd8c31

Please sign in to comment.