Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ struct BitwardenTextValueField<AccessoryContent>: View where AccessoryContent: V
titleAccessibilityIdentifier: String? = "ItemName",
value: String,
valueAccessibilityIdentifier: String? = "ItemValue",
textSelectionEnabled: Bool = false,
textSelectionEnabled: Bool = true,
@ViewBuilder accessoryContent: () -> AccessoryContent
) {
self.textSelectionEnabled = textSelectionEnabled
Expand Down Expand Up @@ -92,7 +92,7 @@ extension BitwardenTextValueField where AccessoryContent == EmptyView {
titleAccessibilityIdentifier: String? = "ItemName",
value: String,
valueAccessibilityIdentifier: String? = "ItemValue",
textSelectionEnabled: Bool = false
textSelectionEnabled: Bool = true
) {
self.init(
title: title,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ struct ViewItemDetailsView: View { // swiftlint:disable:this type_body_length
@ViewBuilder private var notesSection: some View {
if !store.state.notes.isEmpty {
SectionView(Localizations.notes) {
BitwardenTextValueField(value: store.state.notes, textSelectionEnabled: true)
BitwardenTextValueField(value: store.state.notes)
}
.accessibilityElement(children: .contain)
.accessibilityIdentifier("CipherNotesLabel")
Expand Down
Loading