mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-20 13:26:03 +00:00
Add code to enable firewall view
This commit is contained in:
1 parent
bf9540a06b
commit
d82e02dffb
5 files changed
+34
-3
No files matched your search
@@ -128,6 +128,6 @@ func isHostReachable(_ host: String) -> Bool {
|
||||
|
||||
#Preview {
|
||||
ApIsolationIssueView()
|
||||
.frame(width: 600, height: 400)
|
||||
.frame(width: issueViewWidth, height: issueViewHeight)
|
||||
}
|
||||
|
||||
@@ -33,6 +33,6 @@ Once this is done, your phone will be able to connect to your Mac.
|
||||
|
||||
#Preview {
|
||||
FirewallIssueView()
|
||||
.frame(width: 600, height: 400)
|
||||
.frame(width: issueViewWidth, height: issueViewHeight)
|
||||
}
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
import SwiftUI
|
||||
import Foundation
|
||||
|
||||
let issueViewWidth = 600.0
|
||||
let issueViewHeight = 300.0
|
||||
|
||||
struct IssueView: View {
|
||||
|
||||
@Environment(\.colorScheme) var colorScheme
|
||||
|
||||
@@ -27,6 +27,6 @@ Once this is done, you should be able to transfer files successfully.
|
||||
|
||||
#Preview {
|
||||
NetworkFilterIssueView()
|
||||
.frame(width: 600, height: 400)
|
||||
.frame(width: issueViewWidth, height: issueViewHeight)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user