Commit 84793835 authored by Grigory Fedorov's avatar Grigory Fedorov

ContactList: activity's title shown when account panel off.

parent a7b38df5
......@@ -539,9 +539,11 @@ public class ContactList extends ManagedActivity implements OnAccountChangedList
private void rebuildAccountToggle() {
accountToggleAdapter.rebuild();
if (SettingsManager.contactsShowPanel() && accountToggleAdapter.getCount() > 0) {
getSupportActionBar().setDisplayShowTitleEnabled(false);
actionBarView.setVisibility(View.VISIBLE);
} else {
actionBarView.setVisibility(View.GONE);
getSupportActionBar().setDisplayShowTitleEnabled(true);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment