-
-
+
+
diff --git a/setup-wizard/src/app/pages/product-key/product-key.page.ts b/setup-wizard/src/app/pages/product-key/product-key.page.ts
index 0a1582238..dbfdf8560 100644
--- a/setup-wizard/src/app/pages/product-key/product-key.page.ts
+++ b/setup-wizard/src/app/pages/product-key/product-key.page.ts
@@ -1,5 +1,5 @@
import { Component } from '@angular/core'
-import { LoadingController, NavController } from '@ionic/angular'
+import { iosTransitionAnimation, LoadingController, NavController } from '@ionic/angular'
import { ApiService } from 'src/app/services/api/api.service'
import { StateService } from 'src/app/services/state.service'
@@ -31,12 +31,12 @@ export class ProductKeyPage {
const state = await this.apiService.verifyProductKey(this.productKey)
this.stateService.productKey = this.productKey
if(state['is-recovering']) {
- await this.navCtrl.navigateForward(`/loading`, { animationDirection: 'forward' })
+ await this.navCtrl.navigateForward(`/loading`, { animationDirection: 'forward', animation: iosTransitionAnimation })
} else if (!!state['tor-address']) {
this.stateService.torAddress = state['tor-address']
- await this.navCtrl.navigateForward(`/success`, { animationDirection: 'forward' })
+ await this.navCtrl.navigateForward(`/success`, { animationDirection: 'forward', animation: iosTransitionAnimation })
} else {
- await this.navCtrl.navigateForward(`/home`, { animationDirection: 'forward' })
+ await this.navCtrl.navigateForward(`/home`, { animationDirection: 'forward', animation: iosTransitionAnimation })
}
} catch (e) {
this.error = e.message
@@ -44,13 +44,5 @@ export class ProductKeyPage {
loader.dismiss()
}
}
-
- async recoverNav () {
- await this.navCtrl.navigateForward(`/recover`, { animationDirection: 'forward' })
- }
-
- async embassyNav () {
- await this.navCtrl.navigateForward(`/embassy`, { animationDirection: 'forward' })
- }
}
diff --git a/setup-wizard/src/app/pages/recover/recover.page.ts b/setup-wizard/src/app/pages/recover/recover.page.ts
index 983146879..5e3ebbca2 100644
--- a/setup-wizard/src/app/pages/recover/recover.page.ts
+++ b/setup-wizard/src/app/pages/recover/recover.page.ts
@@ -1,5 +1,5 @@
import { Component } from '@angular/core'
-import { ModalController, NavController } from '@ionic/angular'
+import { iosTransitionAnimation, ModalController, NavController } from '@ionic/angular'
import { ApiService, RecoveryDrive } from 'src/app/services/api/api.service'
import { StateService } from 'src/app/services/state.service'
import { PasswordPage } from '../password/password.page'
@@ -61,6 +61,6 @@ export class RecoverPage {
if(pw) {
this.stateService.recoveryPassword = pw
}
- await this.navCtrl.navigateForward(`/embassy`, { animationDirection: 'forward' })
+ await this.navCtrl.navigateForward(`/embassy`, { animationDirection: 'forward', animation: iosTransitionAnimation })
}
}
diff --git a/setup-wizard/src/app/pages/success/success.page.html b/setup-wizard/src/app/pages/success/success.page.html
index df702d7ac..a10c5db41 100644
--- a/setup-wizard/src/app/pages/success/success.page.html
+++ b/setup-wizard/src/app/pages/success/success.page.html
@@ -30,10 +30,6 @@
-
- Go To Embassy!
-
-