Page MenuHomePhabricator

[native] Fix appearance of Inbox header in light mode
ClosedPublic

Authored by atul on Nov 10 2022, 5:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 2 2024, 11:11 PM
Unknown Object (File)
Nov 2 2024, 11:11 PM
Unknown Object (File)
Nov 2 2024, 11:11 PM
Unknown Object (File)
Nov 2 2024, 11:10 PM
Unknown Object (File)
Oct 6 2024, 3:09 PM
Unknown Object (File)
Sep 19 2024, 6:20 AM
Unknown Object (File)
Sep 19 2024, 6:20 AM
Unknown Object (File)
Sep 19 2024, 6:20 AM
Subscribers

Details

Reviewers
tomek
marcin
ginsu
rohan
abosh
varun
ashoat
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Commits
rCOMM10d59f3d5dbb: [native] Fix appearance of Inbox header in light mode
Summary

Context: https://linear.app/comm/issue/ENG-1395/inbox-header-remains-dark-in-light-mode
https://linear.app/comm/issue/ENG-2052/re-introduce-light-mode-in-native

The backgroundColor of the Inbox header was previously hardcoded to a dark value that looked fine in dark mode but looked broken in light mode.

This diff sets the backgroundColor to tabBarBackground which will adapt based on the theme.

Test Plan

Before:

692c87.png (1×714 px, 312 KB)

After:

782509.png (1×716 px, 309 KB)

Things looks as expected.

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage