Skip to content

Commit

Permalink
修复:metro的go方法的requestCode没有传入到ActivityLauncher导致的回调问题
Browse files Browse the repository at this point in the history
  • Loading branch information
你需要一台永动机 committed Dec 5, 2019
1 parent 8e90e40 commit 3bba290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/main/java/com/pmm/metro/TrainDispatcher.kt
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class TrainDispatcher(private var ticket: Ticket, private val driver: Any) {
}

//开启Activity
fun go(requestCode: Int = -1) = activityLauncher().go()
fun go(requestCode: Int = -1) = activityLauncher().go(requestCode)

//转换Activity
fun activityLauncher(): ActivityLauncher {
Expand Down

0 comments on commit 3bba290

Please sign in to comment.