From 8270156373e77ca1f3e3f2b97980fe09e8e213f9 Mon Sep 17 00:00:00 2001 From: r-ca Date: Sun, 28 Jan 2024 13:49:22 +0900 Subject: [PATCH] =?UTF-8?q?hasCombined=E3=82=92=E5=88=9D=E6=9C=9F=E5=8C=96?= =?UTF-8?q?=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java b/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java index b3b27070..92a0610f 100644 --- a/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java +++ b/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java @@ -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); }