fix: ExtL10n String vs Text misuse and replace caption1 with caption
ExtL10n.text returns Text; use ExtL10n.string where String is required (computed properties, Text/Button initializers). TypeStyle has caption, not caption1 — align onboarding and dictionary views. Co-authored-by: Rocky <hkgood@users.noreply.github.com>
This commit is contained in:
@@ -57,11 +57,11 @@ struct AppContextChip: View {
|
||||
}
|
||||
|
||||
private var chipText: String {
|
||||
ExtL10n.text("keyboard.appContext.chip.\(state.appContext.rawValue)")
|
||||
ExtL10n.string("keyboard.appContext.chip.\(state.appContext.rawValue)")
|
||||
}
|
||||
|
||||
private func menuLabel(for context: AppContext) -> String {
|
||||
ExtL10n.text("keyboard.appContext.menu.\(context.rawValue)")
|
||||
ExtL10n.string("keyboard.appContext.menu.\(context.rawValue)")
|
||||
}
|
||||
|
||||
private func iconName(for context: AppContext) -> String {
|
||||
|
||||
Reference in New Issue
Block a user