Remove padding for QR code

This commit is contained in:
Mygod
2015-11-08 17:28:18 +08:00
parent 7b7614db42
commit 1f0f92113d
@@ -901,7 +901,6 @@ class Shadowsocks
private def showQrCode() {
val image = new ImageView(this)
image.setPadding(0, dp2px(20), 0, dp2px(20))
image.setLayoutParams(new LinearLayout.LayoutParams(-1, -1))
val qrcode = QRCode.from(Parser.generate(currentProfile))
.withSize(dp2px(250), dp2px(250)).asInstanceOf[QRCode]