Skip to content

Commit

Permalink
Unused
Browse files Browse the repository at this point in the history
  • Loading branch information
DMagic1 committed Oct 24, 2016
1 parent 06baa7a commit 6672065
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions SCANsat/SCAN_Toolbar/SCANtoolbar.cs
Expand Up @@ -133,7 +133,6 @@ internal SCANtoolbar()

private void toggleMenu(IButton menu)
{
if (!ToolbarManager.ToolbarAvailable) return; // bail if we don't have a toolbar
if (menu.Drawable == null)
createMenu(menu);
else
Expand Down Expand Up @@ -197,14 +196,12 @@ private void createMenu(IButton menu)

private void destroyMenu(IButton menu)
{
if (!ToolbarManager.ToolbarAvailable) return; // bail if we don't have a toolbar
((PopupMenuDrawable)menu.Drawable).Destroy();
menu.Drawable = null;
}

internal void OnDestroy()
{
if (!ToolbarManager.ToolbarAvailable) return; // bail if we don't have a toolbar
if (SCANButton != null)
SCANButton.Destroy();
if (MapButton != null)
Expand Down

0 comments on commit 6672065

Please sign in to comment.