Skip to content

Commit f48a0dc

Browse files
committed
[native] fix(NewAccount): Make sure back button works correctly
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent 85a79a5 commit f48a0dc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/ui/views/NewAccount.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,10 @@ export default {
654654
}
655655
},
656656
backButton() {
657+
if (this.currentStep > 0) {
658+
this.currentStep--
659+
return true
660+
}
657661
this.$router.push({ name: 'HOME' })
658662
},
659663
methods: {

0 commit comments

Comments
 (0)