From 7bd1370c0bf1ba5d935f068f48ac041aa27b796a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eudes=20In=C3=A1cio?= Date: Mon, 20 Nov 2023 14:12:32 +0100 Subject: [PATCH] changes and changes --- android/app/src/main/AndroidManifest.xml | 1 - src/app/home/home.page.ts | 2 +- .../new-publication/new-publication.page.html | 22 ++++-- .../new-publication/new-publication.page.scss | 19 +++++ .../new-publication/new-publication.page.ts | 72 ++++++++++++++----- .../view-publications.page.ts | 3 +- .../services/checkFileType.service.spec.ts | 16 +++++ src/app/services/checkFileType.service.ts | 36 ++++++++++ src/app/services/http-error-handle.service.ts | 27 +++---- src/app/services/publications.service.ts | 13 ++++ src/app/services/shareIntent.ts | 8 +-- src/app/store/publication-folder.service.ts | 2 +- 12 files changed, 174 insertions(+), 47 deletions(-) create mode 100644 src/app/services/checkFileType.service.spec.ts create mode 100644 src/app/services/checkFileType.service.ts diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 6682d73d1..bef5d7d92 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -42,7 +42,6 @@ - diff --git a/src/app/home/home.page.ts b/src/app/home/home.page.ts index 69d9e046f..69b704ff5 100644 --- a/src/app/home/home.page.ts +++ b/src/app/home/home.page.ts @@ -295,7 +295,7 @@ export class HomePage implements OnInit { App.addListener('appStateChange', ({ isActive }) => { if (isActive) { sendIntent.setRouteService(this.router) - this.checkSendIntentReceived(); + /* this.checkSendIntentReceived(); */ console.log('App is in the foreground'); /* this.checkSendIntentReceived() */ } else { diff --git a/src/app/pages/publications/new-publication/new-publication.page.html b/src/app/pages/publications/new-publication/new-publication.page.html index 867ef103b..9f7d0d9bb 100644 --- a/src/app/pages/publications/new-publication/new-publication.page.html +++ b/src/app/pages/publications/new-publication/new-publication.page.html @@ -32,15 +32,25 @@
- + - + - + + + + +

mais {{ seletedContent.length - displayLimit }}

+

{{capturedImageTitle}}

@@ -87,8 +97,8 @@
- -