mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-19 08:02:55 +00:00
refactor: adjust code after upgrade of ionic from v4 to v5
Note: used observables instead of events service which doesn't exist in ionic 5 anymore.
This commit is contained in:
committed by
Rainer Killinger
parent
cc357f36b6
commit
2e8d717607
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018, 2019 StApps
|
||||
* Copyright (C) 2018, 2019, 2020 StApps
|
||||
* This program is free software: you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the Free
|
||||
* Software Foundation, version 3.
|
||||
@@ -17,7 +17,7 @@ import {NgModule} from '@angular/core';
|
||||
import {FormsModule} from '@angular/forms';
|
||||
import {RouterModule, Routes} from '@angular/router';
|
||||
import {Geolocation} from '@ionic-native/geolocation/ngx';
|
||||
import {Events, IonicModule} from '@ionic/angular';
|
||||
import {IonicModule} from '@ionic/angular';
|
||||
import {TranslateModule} from '@ngx-translate/core';
|
||||
|
||||
import {ConfigProvider} from '../config/config.provider';
|
||||
@@ -49,7 +49,6 @@ const settingsRoutes: Routes = [
|
||||
],
|
||||
providers: [
|
||||
ConfigProvider,
|
||||
Events,
|
||||
Geolocation,
|
||||
SettingsProvider,
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user