This commit is contained in:
Mygod
2015-10-04 13:53:25 +08:00
parent 3605e18db2
commit a57c06e304
2 changed files with 2 additions and 6 deletions
@@ -953,11 +953,7 @@ class Shadowsocks
new AlertDialog.Builder(this)
.setCancelable(true)
.setNegativeButton(getString(R.string.close), new DialogInterface.OnClickListener() {
override def onClick(dialog: DialogInterface, id: Int) {
dialog.cancel()
}
})
.setNegativeButton(getString(R.string.close), (dialog: DialogInterface, id: Int) => dialog.cancel())
.setView(image)
.create()
.show()