From 488d735dfd469ce8ad3172eef0aa5575da1abd89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Blin?=
 <sebastien.blin@savoirfairelinux.com>
Date: Tue, 6 Jul 2021 16:34:29 -0400
Subject: [PATCH] wizardview: do not show profile page for imported account

as the avatar and alias will come from other connected devices
and from the archive too.

Change-Id: Ia3cbb91d4802c4119538c709a2432e45d396624c
---
 src/wizardview/WizardView.qml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/wizardview/WizardView.qml b/src/wizardview/WizardView.qml
index b8471bc28..029cfcbbd 100644
--- a/src/wizardview/WizardView.qml
+++ b/src/wizardview/WizardView.qml
@@ -291,7 +291,7 @@ Rectangle {
                     inputParaObject["password"] = importFromBackupPage.text_passwordFromBackupEditAlias
                     showBackUp = false
                     showBottom = false
-                    showProfile = true
+                    showProfile = false
                     AccountAdapter.createJamiAccount(
                         "", inputParaObject, "", false)
                 }
@@ -346,7 +346,7 @@ Rectangle {
                     inputParaObject["archivePin"] = importFromDevicePage.text_pinFromDeviceAlias
                     inputParaObject["password"] = importFromDevicePage.text_passwordFromDeviceAlias
 
-                    showProfile = true
+                    showProfile = false
                     showBackUp = false
                     showBottom = false
                     AccountAdapter.createJamiAccount(
-- 
GitLab