Meshtastic-Apple/Meshtastic/Views/MapKitMap/Custom/TileDownloadStatus.swift

15 lines
287 B
Swift
Raw Permalink Normal View History

import SwiftUI
struct TileDownloadStatus: View {
@ObservedObject var tileManager = OfflineTileManager.shared
var body: some View {
if tileManager.status == .downloading {
Image(systemName: "arrow.down.circle.fill")
.foregroundColor(.gray)
} else {
EmptyView()
}
}
}