Skip to content

Commit

Permalink
Change get-only var to computed property
Browse files Browse the repository at this point in the history
  • Loading branch information
blakedgordon committed Mar 25, 2020
1 parent 8fa283c commit 72715fa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dozer/StatusIconClasses/HelperStatusIcon.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ import Defaults

private struct StatusIconLength {
static var show: CGFloat {
get {
return defaults[.buttonPadding]
}
return defaults[.buttonPadding]
}
static let hide: CGFloat = 10_000
}
Expand Down

0 comments on commit 72715fa

Please sign in to comment.