소스 검색

Fix: pass to movieEditActivity data replace with project

liweihao 6 년 전
부모
커밋
8405f6b521

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
src/main/java/com/bomostory/sceneeditmodule/MovieEditActivity.kt


+ 1 - 2
src/main/java/com/bomostory/sceneeditmodule/SceneEditActivity.kt

@@ -173,9 +173,8 @@ class SceneEditActivity : AppCompatActivity(), ActorAdapter.OnActorDragListener,
                         } catch (e: Exception) {
                             e.printStackTrace()
                         }
-                        val story = project.story
                         val intent = Intent(this, MovieEditActivity::class.java)
-                        intent.putExtra(MovieEditActivity.PROJECT_KEY, Gson().toJson(story))
+                        intent.putExtra(MovieEditActivity.PROJECT_KEY, Gson().toJson(project))
                         startActivity(intent)
                     })
                     navigationBar.addView(recordFinishView)