mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
15 lines
287 B
Swift
15 lines
287 B
Swift
|
|
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()
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|