set display mode title

This commit is contained in:
Kevin Richter 2016-02-09 16:57:11 +01:00
parent f84731c2df
commit d8b46c1969

View File

@ -187,6 +187,7 @@ public class ChaptersFragment extends BaseRxFragment<ChaptersPresenter> implemen
int selectedIndex = manga.getDisplayMode() == Manga.DISPLAY_NAME ? 0 : 1; int selectedIndex = manga.getDisplayMode() == Manga.DISPLAY_NAME ? 0 : 1;
new MaterialDialog.Builder(getActivity()) new MaterialDialog.Builder(getActivity())
.title(R.string.action_display_mode)
.items(modes) .items(modes)
.itemsIds(ids) .itemsIds(ids)
.itemsCallbackSingleChoice(selectedIndex, (dialog, itemView, which, text) -> { .itemsCallbackSingleChoice(selectedIndex, (dialog, itemView, which, text) -> {