From 385ffd20a230f7734c961ad0f71378e11dd7a675 Mon Sep 17 00:00:00 2001 From: Thilo Molitor Date: Sat, 17 Aug 2024 21:24:18 +0200 Subject: [PATCH] Add quicksy-specific password migration text --- Monal/Classes/PasswordMigration.swift | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Monal/Classes/PasswordMigration.swift b/Monal/Classes/PasswordMigration.swift index 83f7819225..f638ec73f3 100644 --- a/Monal/Classes/PasswordMigration.swift +++ b/Monal/Classes/PasswordMigration.swift @@ -36,10 +36,16 @@ struct PasswordMigration: View { .resizable() .frame(width: CGFloat(120), height: CGFloat(120), alignment: .center) .clipShape(RoundedRectangle(cornerRadius: 10, style: .continuous)) - .padding() + .padding() +#if IS_QUICKSY + Text("Your accounts got deactivated, because you restored an iCloud backup of Quicksy. Please reenter your passwords to activate them again.") + .padding() + .padding(.leading, -16.0) +#else Text("Your accounts got deactivated, because you restored an iCloud backup of Monal. Please reenter your passwords to activate them again.") .padding() .padding(.leading, -16.0) +#endif } .frame(maxWidth: .infinity) .background(Color(UIColor.systemBackground))