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