mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
ChangeUi
This commit is contained in:
@@ -395,22 +395,13 @@ export class NewPublicationPage implements OnInit {
|
||||
this.photo = this.sanitizer.bypassSecurityTrustResourceUrl(image && (image.dataUrl));
|
||||
} */
|
||||
|
||||
|
||||
|
||||
async selectImage() {
|
||||
const image = await Camera.getPhoto({
|
||||
<<<<<<< HEAD
|
||||
quality: 50,
|
||||
width:50,
|
||||
height:50,
|
||||
=======
|
||||
quality: 20,
|
||||
>>>>>>> 6a912b740d97159664c5fe5dff07ac378b028771
|
||||
allowEditing: false,
|
||||
resultType: CameraResultType.Uri,
|
||||
source: CameraSource.Camera // Camera, Photos or Prompt!
|
||||
});
|
||||
|
||||
if (image) {
|
||||
this.saveImage(image)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user