Commit 8e544df
fix: improve dark mode loading by setting WebView invisible in XML and increasing delay
- Set WebView visibility to invisible in XML layout to prevent initial white flash
- Increase delay from 100ms to 300ms to ensure theme JavaScript executes properly
- This eliminates the white screen gap during page load in dark mode
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 9e20366 commit 8e544df
File tree
2 files changed
+2
-1
lines changed- app/src/main
- res/layout
2 files changed
+2
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
0 commit comments