Update dependencies
This commit is contained in:
@@ -28,7 +28,7 @@ private struct LogViewContent: View {
|
|||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
LogContentInnerView(dataModel: viewModel.dataModel, viewModel: viewModel)
|
LogContentInnerView(dataModel: viewModel.dataModel, viewModel: viewModel)
|
||||||
#if !os(tvOS)
|
#if !os(tvOS)
|
||||||
.applySearchable(text: $viewModel.searchText, isSearching: $viewModel.isSearching, shouldShow: viewModel.isSearching)
|
.applySearchable(text: $viewModel.searchText, isSearching: $viewModel.isSearching, shouldShow: viewModel.isSearching)
|
||||||
.toolbar {
|
.toolbar {
|
||||||
ToolbarItemGroup {
|
ToolbarItemGroup {
|
||||||
@@ -50,7 +50,7 @@ private struct LogViewContent: View {
|
|||||||
cleanup: { viewModel.dataModel.cleanupLogFile() }
|
cleanup: { viewModel.dataModel.cleanupLogFile() }
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !os(tvOS)
|
#if !os(tvOS)
|
||||||
@@ -82,7 +82,7 @@ private struct LogViewContent: View {
|
|||||||
let viewModel: LogViewModel
|
let viewModel: LogViewModel
|
||||||
@Environment(\.colorScheme) private var colorScheme
|
@Environment(\.colorScheme) private var colorScheme
|
||||||
|
|
||||||
func makeUIView(context: Context) -> UIButton {
|
func makeUIView(context _: Context) -> UIButton {
|
||||||
let button = UIButton(type: .system)
|
let button = UIButton(type: .system)
|
||||||
let config = UIImage.SymbolConfiguration(scale: .large)
|
let config = UIImage.SymbolConfiguration(scale: .large)
|
||||||
button.setImage(UIImage(systemName: "line.3.horizontal.circle", withConfiguration: config), for: .normal)
|
button.setImage(UIImage(systemName: "line.3.horizontal.circle", withConfiguration: config), for: .normal)
|
||||||
@@ -94,7 +94,7 @@ private struct LogViewContent: View {
|
|||||||
return button
|
return button
|
||||||
}
|
}
|
||||||
|
|
||||||
func updateUIView(_ uiView: UIButton, context: Context) {
|
func updateUIView(_ uiView: UIButton, context _: Context) {
|
||||||
uiView.menu = createMenu()
|
uiView.menu = createMenu()
|
||||||
uiView.tintColor = colorScheme == .dark ? .white : .black
|
uiView.tintColor = colorScheme == .dark ? .white : .black
|
||||||
}
|
}
|
||||||
@@ -106,7 +106,7 @@ private struct LogViewContent: View {
|
|||||||
state: viewModel.selectedLogLevel == nil ? .on : .off
|
state: viewModel.selectedLogLevel == nil ? .on : .off
|
||||||
) { _ in
|
) { _ in
|
||||||
viewModel.selectedLogLevel = nil
|
viewModel.selectedLogLevel = nil
|
||||||
}
|
},
|
||||||
] + LogLevel.allCases.map { level in
|
] + LogLevel.allCases.map { level in
|
||||||
UIAction(
|
UIAction(
|
||||||
title: level.name,
|
title: level.name,
|
||||||
|
|||||||
@@ -1,22 +1,13 @@
|
|||||||
{
|
{
|
||||||
"object": {
|
"object": {
|
||||||
"pins": [
|
"pins": [
|
||||||
{
|
|
||||||
"package": "Runestone",
|
|
||||||
"repositoryURL": "https://github.com/simonbs/Runestone",
|
|
||||||
"state": {
|
|
||||||
"branch": null,
|
|
||||||
"revision": "1fad339aab99cf2136ce6bf8c32da3265b2e85e5",
|
|
||||||
"version": "0.5.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"package": "TreeSitter",
|
"package": "TreeSitter",
|
||||||
"repositoryURL": "https://github.com/tree-sitter/tree-sitter",
|
"repositoryURL": "https://github.com/tree-sitter/tree-sitter",
|
||||||
"state": {
|
"state": {
|
||||||
"branch": null,
|
"branch": null,
|
||||||
"revision": "98be227227af10cc7a269cb3ffb23686c0610b17",
|
"revision": "da6fe9beb4f7f67beb75914ca8e0d48ae48d6406",
|
||||||
"version": "0.20.9"
|
"version": "0.25.10"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"originHash" : "667da5f817ecc784ba63674676b2d92fd0c6e2af5a43e97251ec53e32dafbc26",
|
"originHash" : "3df9e750e08443194175bd6d737045e3d91e43b2e60d468122e1acdd9ea936c0",
|
||||||
"pins" : [
|
"pins" : [
|
||||||
{
|
{
|
||||||
"identity" : "binarycodable",
|
"identity" : "binarycodable",
|
||||||
@@ -69,8 +69,8 @@
|
|||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://github.com/orchetect/MacControlCenterUI",
|
"location" : "https://github.com/orchetect/MacControlCenterUI",
|
||||||
"state" : {
|
"state" : {
|
||||||
"revision" : "a98dc47a61116b126092839cf1617274f5c603dc",
|
"revision" : "7a6ef245d3a136884295e20fd0ffa4b90cbe0940",
|
||||||
"version" : "2.4.2"
|
"version" : "2.7.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user