Skip to content

Commit

Permalink
- [fix] url extra was missing in vscode start intent
Browse files Browse the repository at this point in the history
  • Loading branch information
vanhoavn committed Jun 2, 2020
1 parent 15386c0 commit 4011f6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/java/vn/vhn/vhscode/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ class MainActivity : AppCompatActivity() {
fun startEditor(url: String = "http://127.0.0.1:1337") {
val intent = Intent(this, VSCodeActivity::class.java)
intent.putExtra(VSCodeActivity.kConfigUseHardKeyboard, chkHardKeyboard.isChecked)
intent.putExtra(VSCodeActivity.kConfigUrl, url)
startActivity(intent)
}

Expand Down

0 comments on commit 4011f6b

Please sign in to comment.