mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-23 13:28:50 +01:00
Fix colors
This commit is contained in:
parent
98c732e6fb
commit
8f31e34e1d
@ -74,7 +74,7 @@ public struct StatusEditorView: View {
|
|||||||
.scrollPosition(id: $scrollID, anchor: .top)
|
.scrollPosition(id: $scrollID, anchor: .top)
|
||||||
.animation(.bouncy(duration: 0.3), value: editorFocusState)
|
.animation(.bouncy(duration: 0.3), value: editorFocusState)
|
||||||
.animation(.bouncy(duration: 0.3), value: followUpSEVMs)
|
.animation(.bouncy(duration: 0.3), value: followUpSEVMs)
|
||||||
.background(Color.primaryBackground)
|
.background(theme.primaryBackgroundColor)
|
||||||
.safeAreaInset(edge: .bottom) {
|
.safeAreaInset(edge: .bottom) {
|
||||||
StatusEditorAutoCompleteView(viewModel: focusedSEVM)
|
StatusEditorAutoCompleteView(viewModel: focusedSEVM)
|
||||||
}
|
}
|
||||||
|
@ -16,6 +16,7 @@ struct StatusRowContextMenu: View {
|
|||||||
@Environment(CurrentInstance.self) private var currentInstance
|
@Environment(CurrentInstance.self) private var currentInstance
|
||||||
@Environment(StatusDataController.self) private var statusDataController
|
@Environment(StatusDataController.self) private var statusDataController
|
||||||
@Environment(QuickLook.self) private var quickLook
|
@Environment(QuickLook.self) private var quickLook
|
||||||
|
@Environment(Theme.self) private var theme
|
||||||
|
|
||||||
var viewModel: StatusRowViewModel
|
var viewModel: StatusRowViewModel
|
||||||
@Binding var showTextForSelection: Bool
|
@Binding var showTextForSelection: Bool
|
||||||
@ -296,7 +297,7 @@ struct SelectTextView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.background(Color.primaryBackground)
|
.background(Theme.shared.primaryBackgroundColor)
|
||||||
.navigationTitle("status.action.select-text")
|
.navigationTitle("status.action.select-text")
|
||||||
.navigationBarTitleDisplayMode(.inline)
|
.navigationBarTitleDisplayMode(.inline)
|
||||||
}
|
}
|
||||||
@ -318,7 +319,7 @@ struct SelectableText: UIViewRepresentable {
|
|||||||
textView.isEditable = false
|
textView.isEditable = false
|
||||||
textView.attributedText = attributedText
|
textView.attributedText = attributedText
|
||||||
textView.textColor = UIColor(Color.label)
|
textView.textColor = UIColor(Color.label)
|
||||||
textView.backgroundColor = UIColor(Color.primaryBackground)
|
textView.backgroundColor = UIColor(Theme.shared.primaryBackgroundColor)
|
||||||
return textView
|
return textView
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user