Mercurial > public > stock-charts
view Sources/StockCharts/LineChart/Helpers/IndicatorPoint.swift @ 103:766a1169564b
Add WatchOS compatability
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Sun, 27 Jun 2021 16:32:23 +0200 |
parents | 5135ff3343ae |
children | 0c0d38dca6d8 |
line wrap: on
line source
// // IndicatorPoint.swift // StockCharts // // Created by Dennis Concepción Martín on 30/4/21. // import SwiftUI public struct IndicatorPoint: View { public var body: some View { #if os(iOS) Circle() .frame(width: 20, height: 20) .foregroundColor(Color(.systemBlue)) #elseif os(watchOS) Circle() .frame(width: 20, height: 20) .foregroundColor(Color(.blue)) #endif } }