woheller69 / huggingassist

Simple WebView Wrapper for huggingChat
GNU General Public License v3.0
104 stars 4 forks source link

[bug] white screen at start-up #11

Closed throwaway242685 closed 2 weeks ago

throwaway242685 commented 3 weeks ago

so, there's this white screen that pops-up when you're opening the app:

https://github.com/user-attachments/assets/773d267a-c7f0-4525-a15b-559d35837393

... even if you're using your phone on dark mode.

I've noticed the same issue on gptAssist.

perhaps you should make both apps detect if the phone's using dark mode or not? to prevent showing any white screen.

this white screen is kind of an issue for me (and my eyes, lol) when I open the app in the middle of the night :C

woheller69 commented 3 weeks ago

the white screen appears when your phone is using day mode, a dark screen appears when phone in dark mode. But then there is the theme you are setting inside the website. So when loading the page it will switch to the setting stored there. And that may be different

throwaway242685 commented 3 weeks ago

the white screen appears when your phone is using day mode, a dark screen appears when phone in dark mode.

I do use my phone with dark mode enabled, but I still see this white screen.

But then there is the theme you are setting inside the website.

that's also dark mode.

(I have Android 9, btw)

woheller69 commented 3 weeks ago

Then is is probably a bug in your - old- Android

throwaway242685 commented 3 weeks ago

it's not that old. :(

I don't have this issue with other apps, so maybe there's a way to fix it here? ;-;

woheller69 commented 3 weeks ago

Android 9 does not support automatic handling of day / night mode. Starts in Android 10