fix: adjust code to overcome the breaking changes (ionic 4 to 5)

Closes #70
This commit is contained in:
Jovan Krunić
2020-11-03 17:29:58 +01:00
parent 2e8d717607
commit f7790426cd
7 changed files with 23 additions and 21 deletions

View File

@@ -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.
@@ -80,7 +80,7 @@ export class SettingsPageComponent {
*/
private async presentSettingsResetToast() {
const toast = await this.toastController.create({
cssClass: 'text-center',
cssClass: 'ion-text-center',
duration: 2000,
message: this.translateService.instant('settings.resetToast.message'),
});