diff --git a/app/src/main/java/org/ntlab/acanthus_client/views/main_menu_ui/edit/EditFragment.java b/app/src/main/java/org/ntlab/acanthus_client/views/main_menu_ui/edit/EditFragment.java index 1641c7f..3b765dd 100644 --- a/app/src/main/java/org/ntlab/acanthus_client/views/main_menu_ui/edit/EditFragment.java +++ b/app/src/main/java/org/ntlab/acanthus_client/views/main_menu_ui/edit/EditFragment.java @@ -13,6 +13,7 @@ import org.ntlab.acanthus_client.Acanthus; import org.ntlab.acanthus_client.R; import org.ntlab.acanthus_client.databinding.FragmentEditBinding; +import org.ntlab.acanthus_client.entities.WorkJson; import org.ntlab.acanthus_client.views.paint.PaintActivity; import androidx.annotation.NonNull; @@ -37,9 +38,9 @@ View root = binding.getRoot(); final TextView textView = binding.textMake; - editViewModel.getAcanthus().observe(getViewLifecycleOwner(), new Observer() { + editViewModel.getWorkJson().observe(getViewLifecycleOwner(), new Observer() { @Override - public void onChanged(@Nullable Acanthus acanthus) { + public void onChanged(@Nullable WorkJson workJson) { } });