From 8b90f122d3ce8010e2f12f5d1431e88a60d34178 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eudes=20In=C3=A1cio?= Date: Tue, 7 Dec 2021 10:30:49 +0100 Subject: [PATCH] Bug fix on publications adding new puvlications --- src/app/pages/chat/messages/messages.page.ts | 3 --- .../pages/publications/new-publication/new-publication.page.ts | 2 -- 2 files changed, 5 deletions(-) diff --git a/src/app/pages/chat/messages/messages.page.ts b/src/app/pages/chat/messages/messages.page.ts index 55a687601..42e82d4c8 100644 --- a/src/app/pages/chat/messages/messages.page.ts +++ b/src/app/pages/chat/messages/messages.page.ts @@ -24,8 +24,6 @@ import { Filesystem, Directory, Encoding } from '@capacitor/filesystem'; import { VoiceRecorder, VoiceRecorderPlugin, RecordingData, GenericResponse, CurrentRecordingStatus } from 'capacitor-voice-recorder'; import { Haptics, ImpactStyle } from '@capacitor/haptics'; import { PreviewCameraPage } from 'src/app/modals/preview-camera/preview-camera.page'; -// import { SocialSharing } from '@ionic-native/social-sharing/ngx'; -import { Share } from '@capacitor/share'; const IMAGE_DIR = 'stored-images'; @@ -91,7 +89,6 @@ export class MessagesPage implements OnInit, AfterViewInit, OnDestroy { private processes: ProcessesService, public ThemeService: ThemeService, private changeDetectorRef: ChangeDetectorRef, - // private socialSharing: SocialSharing ) { this.loggedUser = authService.ValidatedUserChat['data']; this.roomId = this.navParams.get('roomId'); diff --git a/src/app/pages/publications/new-publication/new-publication.page.ts b/src/app/pages/publications/new-publication/new-publication.page.ts index 4d68e061e..cf37bd3e8 100644 --- a/src/app/pages/publications/new-publication/new-publication.page.ts +++ b/src/app/pages/publications/new-publication/new-publication.page.ts @@ -20,7 +20,6 @@ import { Camera, CameraResultType, CameraSource, Photo } from '@capacitor/camera import { Filesystem, Directory } from '@capacitor/filesystem'; import { NgxImageCompressService } from "ngx-image-compress"; -import { SocialSharing } from '@ionic-native/social-sharing/ngx'; const IMAGE_DIR = 'stored-images'; interface LocalFile { @@ -88,7 +87,6 @@ export class NewPublicationPage implements OnInit { private platform: Platform, private loadingCtrl: LoadingController, public imageCompress: NgxImageCompressService, - private socialSharing: SocialSharing ) { this.publicationType = this.navParams.get('publicationType');