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