Skip to content

Getting grey Diagonal line in Dark mode #492

@kisrar

Description

@kisrar

After following this doc : https://github.com/espresso3389/pdfrx/blob/master/doc/Dark-Night-Mode-Support.md , in some users device, the PDF is getting a grey Diagonal line (from Top-Right to Bottom-Left) in Dark mode. Although in some device it works perfectly fine.

Screenshot:

Image

Details:

Device: Samsung Galaxy M34 5G
Android : 15
pdfrx: 2.1.22
flutter: 3.35.2

Relevant code:

ColorFiltered(
          colorFilter: ColorFilter.mode(Colors.white, _darkModePDF ? BlendMode.difference : BlendMode.dst),
          child: _buildPDFViwer(),
        ),

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions