Browse Source

Fix: pass to movieEditActivity data replace with project

liweihao 6 năm trước cách đây
mục cha
commit
8405f6b521

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 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)