Use Text(verbatim:) to indicate non-translatable strings

This commit is contained in:
2023-02-16 10:15:38 -05:00
parent 1b4e54582f
commit 98a1b95d12
14 changed files with 22 additions and 22 deletions

View File

@@ -11,7 +11,7 @@ import SwiftUI
func PowView(_ mpow: Int?) -> some View
{
let pow = mpow ?? 0
return Text(String("\(pow)"))
return Text(verbatim: "\(pow)")
.font(.callout)
.foregroundColor(calculate_pow_color(pow))
}