tweak actionbar title display
This commit is contained in:
parent
b0002f903d
commit
03945cea2e
@ -1334,7 +1334,6 @@ public class MainActivity extends FragmentActivity implements OnlineServices {
|
||||
getActionBar().setDisplayHomeAsUpEnabled(m_selectedArticle != null || m_activeCategory != null);
|
||||
} else {
|
||||
getActionBar().setDisplayHomeAsUpEnabled(m_selectedArticle != null || m_activeFeed != null || m_activeCategory != null);
|
||||
getActionBar().setDisplayShowTitleEnabled(m_selectedArticle == null);
|
||||
}
|
||||
|
||||
if (android.os.Build.VERSION.SDK_INT >= 14) {
|
||||
|
@ -813,7 +813,6 @@ public class OfflineActivity extends FragmentActivity implements
|
||||
getActionBar().setDisplayHomeAsUpEnabled(m_selectedArticleId != 0);
|
||||
} else {
|
||||
getActionBar().setDisplayHomeAsUpEnabled(m_selectedArticleId != 0 || m_activeFeedId != 0);
|
||||
getActionBar().setDisplayShowTitleEnabled(m_selectedArticleId == 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user