Skip to content

Commit aadacfc

Browse files
Replace white airline logo with colored sample icon
Changed from R.drawable.skyairlines (white logo) to R.drawable.sample_icon (colored icon) so the image is visible in both light and dark modes. The white logo was invisible on white backgrounds in light mode, which made the Image slot appear empty. The sample icon has colors that work in both themes. Files updated: - Test and story files to use sample_icon - Regenerated all Image slot screenshots (docs + test snapshots) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 74d5bf4 commit aadacfc

File tree

7 files changed

+2
-2
lines changed

7 files changed

+2
-2
lines changed
2.95 KB
Loading
1.56 KB
Loading
2.97 KB
Loading

app/src/main/java/net/skyscanner/backpack/demo/compose/CellItemStory.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ fun CellItemWithImageStory(modifier: Modifier = Modifier) {
166166
title = "Partner Program",
167167
body = "Skyland Airlines",
168168
onClick = {},
169-
slot = BpkCellItemSlot.Image(R.drawable.skyairlines),
169+
slot = BpkCellItemSlot.Image(R.drawable.sample_icon),
170170
modifier = Modifier.fillMaxWidth(),
171171
)
172172
}

app/src/test/java/net/skyscanner/backpack/compose/cellitem/BpkCellItemTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class BpkCellItemTest : BpkSnapshotTest() {
104104
icon = BpkIcon.Account,
105105
title = "Partner Program",
106106
body = "Skyland Airlines",
107-
slot = BpkCellItemSlot.Image(R.drawable.skyairlines),
107+
slot = BpkCellItemSlot.Image(R.drawable.sample_icon),
108108
)
109109
}
110110

4.31 KB
Loading
1.35 KB
Loading

0 commit comments

Comments
 (0)