Fix QR code sharing

This commit is contained in:
Niels Andriesse 2020-01-17 14:33:55 +11:00
parent 6fccd873db
commit a5aeacda63

View File

@ -138,7 +138,7 @@ class ViewMyQRCodeFragment : Fragment() {
file.createNewFile()
val fos = FileOutputStream(file)
val size = toPx(280, resources)
val qrCode = QRCodeUtilities.encode(hexEncodedPublicKey, size, false)
val qrCode = QRCodeUtilities.encode(hexEncodedPublicKey, size, false, false)
qrCode.compress(Bitmap.CompressFormat.PNG, 100, fos)
fos.flush()
fos.close()