Skip to content

Commit

Permalink
update main
Browse files Browse the repository at this point in the history
  • Loading branch information
jessieeeee committed Aug 20, 2017
1 parent 109700c commit 9952f8f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,9 @@ private void setTabTitle(boolean addTab) {
while (it.hasNext()) {
MainTitleDTO mainTitleDTO = it.next();
mDataList.add(mainTitleDTO.getTitle());
if(addTab)
tabLayout.addTab(tabLayout.newTab().setText(mainTitleDTO.getTitle()));
if(addTab){
tabLayout.addTab(tabLayout.newTab().setText(mainTitleDTO.getTitle()));
}
}
}

Expand Down

0 comments on commit 9952f8f

Please sign in to comment.