Ver código fonte

Fix: pass to movieEditActivity data replace with project

liweihao 6 anos atrás
pai
commit
8405f6b521

Diferenças do arquivo suprimidas por serem muito extensas
+ 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)