Skip to content

Commit

Permalink
Makes a few more variables and constants public.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Martinsson committed Sep 25, 2021
1 parent b9ff50c commit 19c2989
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Sources/GaugeKit/GaugeBackView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

import SwiftUI

struct GaugeAdditionalInfo {
let preTitle: String?
let largeTitle: String?
let body: String?
public struct GaugeAdditionalInfo {
public let preTitle: String?
public let largeTitle: String?
public let body: String?
}

/**
Expand Down
8 changes: 4 additions & 4 deletions Sources/GaugeKit/GaugeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ import SwiftUI
public struct GaugeView : View {
@State private var flipped: Bool = false

var title: String?
var value: Int?
var colors: [Color]
var additionalInfo: GaugeAdditionalInfo?
public var title: String?
public var value: Int?
public var colors: [Color]
public var additionalInfo: GaugeAdditionalInfo?

public var body: some View {
ZStack {
Expand Down

0 comments on commit 19c2989

Please sign in to comment.