mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-11 19:11:10 +00:00
Fix iOS compilation
This commit is contained in:
1 parent
b135229d30
commit
943414db58
1 file changed
+2
-2
@@ -93,7 +93,7 @@ struct DeviceListView: View {
|
||||
|
||||
CustomSection(header: "NoDevicesFound") {
|
||||
|
||||
let hasWifi = nearbyConnectionManager.isConnectedViaWiFi
|
||||
let hasWifi = nearbyConnectionManager.isConnectedToLocalNetwork
|
||||
|
||||
HStack(spacing: 12) {
|
||||
Image(systemName: hasWifi ? "arrow.down.circle.fill" : "wifi.slash")
|
||||
@@ -137,7 +137,7 @@ struct DeviceListView: View {
|
||||
}
|
||||
|
||||
|
||||
if nearbyConnectionManager.hasLocalNetworkAccess && nearbyConnectionManager.isConnectedViaWiFi {
|
||||
if nearbyConnectionManager.hasLocalNetworkAccess && nearbyConnectionManager.hasLocalNetworkAccess {
|
||||
HStack(spacing: 8) {
|
||||
Text("SearchingForDevices")
|
||||
.font(.system(size: 14))
|
||||
|
||||
Reference in new issue
Block a user