Merge commit 'f778b97'

This commit is contained in:
maddiebaka
2023-07-10 14:14:24 -04:00
20 changed files with 456 additions and 377 deletions

View File

@@ -1,9 +1,8 @@
//
// PrinterConfigView.swift
// KlipperMon
//
// Created by maddiefuzz on 2/8/23.
//
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
import SwiftUI
import Network
@@ -13,11 +12,8 @@ struct PrinterConfigView: View {
@ObservedObject var printerManager: MoonrakerSocketManager
@ObservedObject var bonjourBrowser = BonjourBrowser()
//@State var bonjourBrowser = NWBrowser(for: .bonjourWithTXTRecord(type: "_moonraker._tcp", domain: "local."), using: .tcp)
@Environment(\.openURL) private var openURL
var body: some View {
VStack {
if(printerManager.isConnected) {

View File

@@ -1,9 +1,8 @@
//
// KlipperMonMenuBarExtraView.swift
// KlipperMon
//
// Created by maddiefuzz on 2/7/23.
//
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
import SwiftUI
import UserNotifications
@@ -77,7 +76,6 @@ struct SoyuzMenuBarExtraView: View {
}
}
}
//.frame(minWidth: 220, minHeight: 100)
// Footer information
HStack {
Button {