commit 97c3bb48afed77f1ac0ee4db6096e97d90fda26b
parent fca87138bf155917683ce6e0ab720cdd42de484f
Author: William Casarin <jb55@jb55.com>
Date: Fri, 30 Jan 2026 13:38:28 -0800
ui: fix like button not visible in light theme
Apply text color tint unconditionally so the like icon is visible
in both light and dark themes.
Closes: https://github.com/damus-io/notedeck/issues/1246
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat:
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/crates/notedeck_ui/src/note/mod.rs b/crates/notedeck_ui/src/note/mod.rs
@@ -1046,11 +1046,7 @@ fn like_button(
app_images::like_image()
};
- if ui.visuals().dark_mode {
- img.tint(ui.visuals().text_color())
- } else {
- img
- }
+ img.tint(ui.visuals().text_color())
};
let (rect, size, resp) =