mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-11 02:51:11 +00:00
25 lines
592 B
Swift
25 lines
592 B
Swift
//
|
|
// NoLocalNetworkAccessAlertView.swift
|
|
// QuickDrop
|
|
//
|
|
// Created by Leon Böttger on 26.12.25.
|
|
//
|
|
|
|
import LUI
|
|
import SwiftUI
|
|
|
|
struct NoLocalNetworkAccessAlertView: View {
|
|
var body: some View {
|
|
CardView(backgroundColor: .red, title: "NoNetworkAccess", titleSymbol: "network.slash") {
|
|
LUIText("NoLocalNetworkAccessDescription", color: .white)
|
|
.frame(maxWidth: .infinity, alignment: .leading)
|
|
}
|
|
.padding(.bottom, 10)
|
|
.onTapGesture {
|
|
#if os(iOS)
|
|
openAppSettings()
|
|
#endif
|
|
}
|
|
}
|
|
}
|