mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
updated learn more link in identity confirmation
This commit is contained in:
@@ -101,6 +101,7 @@ final class AppSettings {
|
||||
acceptableUseURL: URL,
|
||||
privacyURL: URL,
|
||||
encryptionURL: URL,
|
||||
deviceVerificationURL: URL,
|
||||
chatBackupDetailsURL: URL,
|
||||
identityPinningViolationDetailsURL: URL,
|
||||
elementWebHosts: [String],
|
||||
@@ -116,6 +117,7 @@ final class AppSettings {
|
||||
self.acceptableUseURL = acceptableUseURL
|
||||
self.privacyURL = privacyURL
|
||||
self.encryptionURL = encryptionURL
|
||||
self.deviceVerificationURL = deviceVerificationURL
|
||||
self.chatBackupDetailsURL = chatBackupDetailsURL
|
||||
self.identityPinningViolationDetailsURL = identityPinningViolationDetailsURL
|
||||
self.elementWebHosts = elementWebHosts
|
||||
@@ -166,6 +168,8 @@ final class AppSettings {
|
||||
private(set) var privacyURL: URL = "https://element.io/privacy"
|
||||
/// A URL where users can go read more about encryption in general.
|
||||
private(set) var encryptionURL: URL = "https://element.io/help#encryption"
|
||||
/// A URL where users can go read more about device verification..
|
||||
private(set) var deviceVerificationURL: URL = "https://element.io/help#encryption-device-verification"
|
||||
/// A URL where users can go read more about the chat backup.
|
||||
private(set) var chatBackupDetailsURL: URL = "https://element.io/help#encryption5"
|
||||
/// A URL where users can go read more about identity pinning violations
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ class IdentityConfirmationScreenViewModel: IdentityConfirmationScreenViewModelTy
|
||||
self.userSession = userSession
|
||||
self.userIndicatorController = userIndicatorController
|
||||
|
||||
super.init(initialViewState: IdentityConfirmationScreenViewState(learnMoreURL: appSettings.encryptionURL))
|
||||
super.init(initialViewState: IdentityConfirmationScreenViewState(learnMoreURL: appSettings.deviceVerificationURL))
|
||||
|
||||
Task { [weak self] in
|
||||
for await state in userSession.sessionSecurityStatePublisher.values {
|
||||
|
||||
Reference in New Issue
Block a user