usememos / memos

An open-source, lightweight note-taking solution. The pain-less way to create your meaningful notes. Your Notes, Your Way.
https://usememos.com
MIT License
30.89k stars 2.31k forks source link

PWA in Android Firefox app shows white status bar even in dark mode #3746

Closed michaelborn closed 2 months ago

michaelborn commented 2 months ago

Describe the bug

There's a pretty jarring usage of #ffffff as the theme color in the memos PWA, and while Chrome seems to ignore this, Firefox does not. I'll attach a screenshot... basically, both the status bar and home/back button bar are white, while Memos is in dark mode and I even have a night mode extension installed to darken the screen.

Steps to reproduce

  1. Grab your android phone
  2. Install the Firefox browser extension (this issue does not occur in Chrome.)
  3. Open Firefox
  4. Browse to Memos, log in, set theme to dark
  5. Install to home screen
  6. open the memos app and review the status bar and home bar

The version of Memos you're using.

v0.22.2

Screenshots or additional context

See the theme_color definition in the manifest: https://github.com/usememos/memos/blob/main/web/public/site.webmanifest#L8

Possible fixes:

michaelborn commented 2 months ago

Here are the promised screenshots comparing the chrome and Firefox pwa renderings:

Screenshot of Timeline page from Chrome PWA Screenshot of Tumeline oage from Firefox PWA

boojack commented 2 months ago

Might be fixed with https://github.com/usememos/memos/commit/ea70dd85bf4c4fdd08f215032828ea89905c3271