mirror of
https://github.com/Toxblh/MTMR.git
synced 2026-01-11 09:28:38 +00:00
Updated else statements
This commit is contained in:
parent
e011160f0b
commit
8bafa107a7
@ -150,7 +150,7 @@ class CurrencyBarItem: CustomButtonTouchBarItem {
|
||||
if full {
|
||||
title = String(format: "%@%@‣%@", prefix, postfix, decimalString)
|
||||
} else {
|
||||
title = String(format: "%.2f", value)
|
||||
title = String(format: "%@%.2f", prefix, value)
|
||||
}
|
||||
|
||||
let regularFont = attributedTitle.attribute(.font, at: 0, effectiveRange: nil) as? NSFont ?? NSFont.systemFont(ofSize: 15)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user