core, ui: security code verification in channels (verify member key) (#7255)

This commit is contained in:
spaced4ndy authored and GitHub committed 2026-07-15 10:46:31 +00:00
1 parent 6e2995cab6
commit 0fef34914d
28 files changed
+250 -88

No files matched your search

@@ -15,6 +15,7 @@ struct VerifyCodeView: View {
@State var connectionCode: String?
@State var connectionVerified: Bool
var verify: (String?) -> (Bool, String)?
var verificationText: LocalizedStringKey? = nil
@State private var showCodeError = false
var body: some View {
@@ -44,7 +45,7 @@ struct VerifyCodeView: View {
Text("\(displayName) is not verified").textCase(.none)
}
} footer: {
Text("To verify end-to-end encryption with your contact compare (or scan) the code on your devices.")
Text(verificationText ?? "To verify end-to-end encryption with your contact compare (or scan) the code on your devices.")
}
Section {