Skip to content

onRender problem: Type mismatch: inferred type is (Int, Any?, Any?) -> Unit but ((Int) -> Unit)! was expected #23

@simona114

Description

@simona114

Trying to do
.onRender { _, _, _ -> pdfView.fitToWidth() }
and I get the error "Type mismatch: inferred type is (Int, Any?, Any?) -> Unit but ((Int) -> Unit)! was expected"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions