Skip to content

QR image generating taking too long #278

@yellowHatpro

Description

@yellowHatpro
  • IMO, The QR generation is happening on the main thread. Therefore it's too slow. Because of it, clicking on the Recieve button seems buggy, as visible in the recording:
f2.mp4

Fixes:

  • We can switch the context using withContext(Dispatchers.IO) and call the corresponding qr generation function there.
  • Visible changes:
firstissue.mp4

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