hasCombinedを初期化するように

This commit is contained in:
r-ca 2024-01-28 13:49:22 +09:00
parent aa2ee9462f
commit 8270156373
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -56,6 +56,7 @@ public class LacertaLibraryImpl implements LacertaLibrary {
listItem.setTitle(documentEntity.title);
listItem.setDescription(DateFormat.getDateInstance().format(documentEntity.updatedAt));
listItem.setItemId(documentEntity.id);
listItem.setHasCombined(documentEntity.isCombineParent);
listItems.add(listItem);
}
@ -105,6 +106,7 @@ public class LacertaLibraryImpl implements LacertaLibrary {
listItem.setTitle(childFolderEntity.name);
listItem.setDescription("フォルダ"); // TODO-rca: ハードコーディングやめる
listItem.setItemId(childFolderEntity.id);
listItem.setHasCombined(false);
listItems.add(listItem);
}
@ -117,6 +119,7 @@ public class LacertaLibraryImpl implements LacertaLibrary {
listItem.setTitle(documentEntity.title);
listItem.setDescription(simpleDateFormat.format(documentEntity.updatedAt));
listItem.setItemId(documentEntity.id);
listItem.setHasCombined(documentEntity.isCombineParent);
listItems.add(listItem);
}
@ -166,6 +169,7 @@ public class LacertaLibraryImpl implements LacertaLibrary {
listItem.setTitle(childFolderEntity.name);
listItem.setDescription("フォルダ"); // TODO-rca: ハードコーディングやめる
listItem.setItemId(childFolderEntity.id);
listItem.setHasCombined(false);
listItems.add(listItem);
}