Hide subtitle while iitc is loading

This commit is contained in:
fkloft 2013-09-25 15:37:49 +02:00
parent c24da31b9d
commit 5f0ec3b581

View File

@ -220,7 +220,7 @@ public class IITC_NavigationHelper extends ActionBarDrawerToggle implements OnIt
} }
boolean mapVisible = mDesktopMode || mPane == Pane.MAP; boolean mapVisible = mDesktopMode || mPane == Pane.MAP;
if ("No Highlights".equals(mHighlighter) || isDrawerOpened() || !mapVisible) if ("No Highlights".equals(mHighlighter) || isDrawerOpened() || mIsLoading || !mapVisible)
mActionBar.setSubtitle(null); mActionBar.setSubtitle(null);
else else
mActionBar.setSubtitle(mHighlighter); mActionBar.setSubtitle(mHighlighter);