hide actionbar subtitle if no highlighter is selected
This commit is contained in:
parent
31c205218e
commit
db7e387a2f
@ -219,8 +219,11 @@ public class IITC_NavigationHelper extends ActionBarDrawerToggle implements OnIt
|
||||
mActionBar.setTitle(getPaneTitle(mPane));
|
||||
}
|
||||
|
||||
if (!isDrawerOpened() && (mDesktopMode || mPane == Pane.MAP))
|
||||
mActionBar.setSubtitle(mHighlighter);
|
||||
if (mHighlighter != null && !isDrawerOpened() && (mDesktopMode || mPane == Pane.MAP))
|
||||
if (!mActionBar.equals("No Highlights"))
|
||||
mActionBar.setSubtitle(mHighlighter);
|
||||
else
|
||||
mActionBar.setSubtitle(null);
|
||||
else
|
||||
mActionBar.setSubtitle(null);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user