Commit 41b6d87
committed
chore: replace HTML error pages with native UI and implement safe-area insets
- Delete static HTML error assets and `error.css`.
- Implement native `isError` state and Compose-based loading/error overlays in `MainActivity`.
- Update `SecureWebViewClient` to trigger the `isError` state on request failures.
- Inject JavaScript in `onPageFinished` to dynamically adjust web content for safe-area insets (top and bottom).
- Update `WebApppTheme` to use transparent status and navigation bars with dynamic icon coloring.
- Bump version to 1.2 in `build.gradle.kts`.
- Refactor `WebViewScreen` and `SecureWebViewClient` to handle the new error state.1 parent f8364ec commit 41b6d87
File tree
16 files changed
+113
-275
lines changed- .idea
- app
- src/main
- assets
- css
- http_error
- java/com/mrepol742/webappp
- client
- ui/theme
16 files changed
+113
-275
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments