Skip to content

Commit

Permalink
Fix colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimillian committed Dec 15, 2023
1 parent 98c732e commit 8f31e34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public struct StatusEditorView: View {
.scrollPosition(id: $scrollID, anchor: .top)
.animation(.bouncy(duration: 0.3), value: editorFocusState)
.animation(.bouncy(duration: 0.3), value: followUpSEVMs)
.background(Color.primaryBackground)
.background(theme.primaryBackgroundColor)
.safeAreaInset(edge: .bottom) {
StatusEditorAutoCompleteView(viewModel: focusedSEVM)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ struct StatusRowContextMenu: View {
@Environment(CurrentInstance.self) private var currentInstance
@Environment(StatusDataController.self) private var statusDataController
@Environment(QuickLook.self) private var quickLook
@Environment(Theme.self) private var theme

var viewModel: StatusRowViewModel
@Binding var showTextForSelection: Bool
Expand Down Expand Up @@ -296,7 +297,7 @@ struct SelectTextView: View {
}
}
}
.background(Color.primaryBackground)
.background(Theme.shared.primaryBackgroundColor)
.navigationTitle("status.action.select-text")
.navigationBarTitleDisplayMode(.inline)
}
Expand All @@ -318,7 +319,7 @@ struct SelectableText: UIViewRepresentable {
textView.isEditable = false
textView.attributedText = attributedText
textView.textColor = UIColor(Color.label)
textView.backgroundColor = UIColor(Color.primaryBackground)
textView.backgroundColor = UIColor(Theme.shared.primaryBackgroundColor)
return textView
}

Expand Down

0 comments on commit 8f31e34

Please sign in to comment.