This commit is contained in:
tiago.kayaya
2022-01-19 16:32:06 +01:00
parent 1ea1723214
commit b11a0c1b9d
3 changed files with 5 additions and 7 deletions
@@ -155,7 +155,7 @@ export class NewPublicationPage implements OnInit {
});
async laodPicture() {
/* async laodPicture() {
const capturedImage = await Camera.getPhoto({
resultType: CameraResultType.Uri,
source: CameraSource.Photos,
@@ -174,9 +174,9 @@ export class NewPublicationPage implements OnInit {
this.capturedImage = await this.convertBlobToBase64(blob);
this.capturedImageTitle = new Date().getTime() + '.jpeg';
}
} */
/* laodPicture() {
laodPicture() {
const input = this.fileLoaderService.createInput({
accept: ['image/apng', 'image/jpeg', 'image/png']
})
@@ -191,7 +191,7 @@ export class NewPublicationPage implements OnInit {
console.log(this.capturedImage)
};
} */
}