mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
add logging to take picture on mobile
This commit is contained in:
@@ -760,8 +760,6 @@ export class NewPublicationPage implements OnInit {
|
||||
this.filecontent = true;
|
||||
|
||||
if (this.removeTextBeforeSlash(element.mimeType, '/') == "mp4") {
|
||||
|
||||
tracing.log("capture file from gallery", { base64: content.data })
|
||||
const newAttachment = new PublicationAttachmentEntity(
|
||||
{
|
||||
base64: content.data,
|
||||
@@ -779,8 +777,8 @@ export class NewPublicationPage implements OnInit {
|
||||
|
||||
} else {
|
||||
this.capturedImage = 'data:image/jpeg;base64,' + content.data;
|
||||
tracing.log("capture file from gallery", { base64: content.data })
|
||||
this.showCroppModal()
|
||||
tracing.hasError('failed to capture file from gallery')
|
||||
tracing.finish()
|
||||
/* const newAttachment = new PublicationAttachmentEntity(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user