@@ -71,11 +71,11 @@ struct EncryptRecipientView: View {
7171 var encryptLabel : String {
7272 languageSettings. localized ( " Encrypt " )
7373 }
74-
74+
7575 var noSearchResultsMessage : String {
7676 languageSettings. localized ( " Person or company does not own a valid certificate " )
7777 }
78-
78+
7979 private var addedRecipientsSection : some View {
8080 VStack ( alignment: . leading, spacing: Dimensions . Padding. ZeroPadding) {
8181 if noSearchResults {
@@ -103,7 +103,7 @@ struct EncryptRecipientView: View {
103103 . listRowSpacing ( 0 )
104104 . listSectionSpacing ( . compact)
105105 }
106-
106+
107107 private var filteredRecipientsSection : some View {
108108 VStack {
109109 if #available( iOS 26 . 0 , * ) {
@@ -256,7 +256,11 @@ struct EncryptRecipientView: View {
256256 . scrollDisabled ( true )
257257 . scrollContentBackground ( . hidden)
258258 } else if showNoRecipientsFoundMessage {
259- emptyStateView ( languageSettings. localized ( " Person or company does not own a valid certificate " ) )
259+ emptyStateView (
260+ languageSettings. localized (
261+ " Person or company does not own a valid certificate "
262+ )
263+ )
260264 } else {
261265 filteredRecipientsSection
262266 }
@@ -339,7 +343,7 @@ struct EncryptRecipientView: View {
339343 . accessibilityElement ( children: . ignore)
340344 . accessibilityLabel ( encryptLabel. lowercased ( ) )
341345 . accessibilityAddTraits ( [ . isButton] )
342-
346+
343347 . accessibilityIdentifier ( " bottomEncryptButton " )
344348 }
345349 . onAppear {
@@ -407,7 +411,7 @@ struct EncryptRecipientView: View {
407411 . buttonStyle ( . plain)
408412 . background ( theme. surface)
409413 }
410-
414+
411415 private func emptyStateView( _ text: String ) -> some View {
412416 ContentUnavailableView {
413417 Text ( verbatim: text)
0 commit comments