Skip to content
Snippets Groups Projects
Commit 83ea7927 authored by Dirk Rettschlag's avatar Dirk Rettschlag
Browse files

Initialize left drawer


Initialize status.bufferViewConfigId if it is -1

Signed-off-by: default avatarDirk Rettschlag <dirk.rettschlag@gmail.com>
parent f99fc8fe
No related branches found
No related tags found
1 merge request!1Initialize left drawer
......@@ -322,6 +322,9 @@ public class MainActivity extends BoundActivity {
accountHeader.clear();
for (QBufferViewConfig viewConfig : bufferViews) {
if (viewConfig != null) {
if (status.bufferViewConfigId == -1) {
status.bufferViewConfigId = viewConfig.bufferViewId();
}
accountHeader.addProfiles(
new ProfileDrawerItem()
.withName(viewConfig.bufferViewName())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment