Skip to content

KlarnaOSMView "Learn more" text issue #269

@stefano-depop

Description

@stefano-depop

Hi Klarna team 👋

I've noticed an issue with KlarnaOSMView: when using the KlarnaOSMStyleConfiguration, the Learn more button doesn't respect the configured text color or theme, and its text remains dark regardless.

let view = KlarnaOSMView()
view.theme = .automatic

let style = KlarnaOSMStyleConfiguration.Builder()
    .setBackgroundColor(.clear)
    .build()

view.styleConfiguration = style
return view
Image

On the other hand, if I don’t use KlarnaOSMStyleConfiguration, and set the theme to .automatic, the button does follow the theme correctly, but the view uses a black background that doesn't match the app's design.

let view = KlarnaOSMView()
view.theme = .automatic
return view
Image

Currently on iOS 18.4, and Klarna SKD version 2.7.1

Could you help me with this? Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions