Open min7-i opened 5 months ago
Sorry, I forgot to mention that the correct color was used in previous versions, e.g. in 1.1.2. That's why I considered it a bug and not an enhancement.
I think this is easily fixed by removing the background here, I'm just worried that might break something else. Which tests can I do to ensure that is not the case?
@connyduck that's for the first breadcrumb's background, not the whole horizontal scroll view. Applying the proper background color on the view itself should fix it but I haven't checked what's caused this in the first place. Probably some dependency update.
@naveensingh No. Maybe it should be the background of the first breadcrumb, but if you look at the code closely you will notice that this
is Resources
which doesn't have a background
setter, and neither has the outer this
which is ItemBreadcrumbFirstBinding
. So the background is actually set to the whole Breadcrumbs
class.
This commit introduced the problem. Before the refactoring this
actually was the view of the first breadcrumb.
Can I send a PR with a fix?
Right, I only had a quick peek.
It should be root.background
instead of just background
. You are welcome to raise a PR but do test the change once with different light/dark theme variants.
Checklist
Affected app version
1.1.3
Affected Android/Custom ROM version
Android 14 / GrapheneOS
Affected device model
Google Pixel 6a
How did you install the app?
F-Droid / IzzyOnDroid
Steps to reproduce the bug
Expected behavior
The background color of the directory info row matches the background color of the rest of the dialog.
Actual behavior
The background color of the directory info row is different than the background color of the rest of the dialog:
Screenshots/Screen recordings
No response
Additional information
No response