From cd2e18f27b6e83e3ac0aa9306667d487f431b6e2 Mon Sep 17 00:00:00 2001 From: Angela Mazzurco Date: Mon, 11 Sep 2017 16:36:59 +0200 Subject: [PATCH] Use correct image size --- retroshare-qml-app/src/components/Faces.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/retroshare-qml-app/src/components/Faces.qml b/retroshare-qml-app/src/components/Faces.qml index ed60df314..723384219 100644 --- a/retroshare-qml-app/src/components/Faces.qml +++ b/retroshare-qml-app/src/components/Faces.qml @@ -138,9 +138,8 @@ Item } // canvasAvatar.images = onloads // canvasAvatar.callback = callback - var datas = androidImagePicker.faceImage(onloads, iconSize) - console.log("@@@@@@@ url " , datas) - callback("data:image/png;base64,"+datas) + var base64Image = androidImagePicker.faceImage(onloads, canvasSizes) + callback("data:image/png;base64,"+base64Image) // canvasAvatar.requestPaint() }