Quellcode durchsuchen

Fix: pass to movieEditActivity data replace with project

liweihao vor 6 Jahren
Ursprung
Commit
8405f6b521

Datei-Diff unterdrückt, da er zu groß ist
+ 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)