Combine処理の変更に追従

This commit is contained in:
r-ca 2024-01-28 14:13:47 +09:00
parent 671718ba83
commit 47c6478227
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -115,7 +115,6 @@ public class ViewerContainerFragment extends Fragment {
logger.debug("ViewerContainerFragment", "hasCombined: " + hasCombined);
lacertaLibrary.getCombinedDocumentToxiList(documentId).thenAccept(combinedDocumentToxiList -> {
logger.debug("ViewerContainerFragment", "combinedDocumentToxiList: " + combinedDocumentToxiList.size());
viewerViewPagerAdapter.addFragment(ViewerBodyFragment.newInstance(documentId, documentName), documentName); // 親を追加
for (ToxiDocumentModel toxiDocumentModel : combinedDocumentToxiList) { // 子を追加
viewerViewPagerAdapter
.addFragment(ViewerBodyFragment.newInstance(toxiDocumentModel.getChildDocumentId(), toxiDocumentModel.getTitleCache()),