diff --git a/Mohem/src/app/offersdiscount/offer-details/offer-details.component.ts b/Mohem/src/app/offersdiscount/offer-details/offer-details.component.ts index f6f30011..b9b9c110 100644 --- a/Mohem/src/app/offersdiscount/offer-details/offer-details.component.ts +++ b/Mohem/src/app/offersdiscount/offer-details/offer-details.component.ts @@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core'; import { CommonService } from 'src/app/hmg-common/services/common/common.service'; import { TranslatorService } from 'src/app/hmg-common/services/translator/translator.service'; import { OfferDiscountService } from '../services/service'; - +import { SocialSharing } from '@ionic-native/social-sharing/ngx'; @Component({ selector: 'app-offer-details', templateUrl: './offer-details.component.html', diff --git a/Mohem/src/app/offersdiscount/offersdiscount.module.ts b/Mohem/src/app/offersdiscount/offersdiscount.module.ts index a39cbfe0..c64e20bb 100644 --- a/Mohem/src/app/offersdiscount/offersdiscount.module.ts +++ b/Mohem/src/app/offersdiscount/offersdiscount.module.ts @@ -2,7 +2,7 @@ import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { Routes, RouterModule } from '@angular/router'; - +import { SocialSharing } from '@ionic-native/social-sharing/ngx'; import { IonicModule } from '@ionic/angular'; import { OffersdiscountPage } from './offersdiscount.page'; @@ -46,6 +46,6 @@ const routes: Routes = [ ], declarations: [OffersdiscountPage, HomeComponent, OfferDetailsComponent, FilterComponent], entryComponents: [FilterComponent], - providers: [OfferDiscountService] + providers: [OfferDiscountService, SocialSharing] }) export class OffersdiscountPageModule { }