//
//  MeterComunicationView.swift
//  USB Meter
//
//  Created by Bogdan Timofte on 05/05/2020.
//  Copyright © 2020 Bogdan Timofte. All rights reserved.
//

import SwiftUI

struct MeterRowView: View {
    
    @EnvironmentObject private var meter: Meter
    
    var body: some View {
        HStack {
            Image( systemName: "antenna.radiowaves.left.and.right" ).foregroundColor(Meter.operationalColor(for: meter.operationalState) )
            Text("\(meter.name)")
//            Spacer()
        }
    }
}
