Skip to content

Migrate settings UI to Jetpack Compose#1711

Open
meenbeese wants to merge 2 commits into
guardianproject:masterfrom
meenbeese:settings
Open

Migrate settings UI to Jetpack Compose#1711
meenbeese wants to merge 2 commits into
guardianproject:masterfrom
meenbeese:settings

Conversation

@meenbeese

Copy link
Copy Markdown
Contributor

Replace legacy PreferenceFragment/XML settings with a Jetpack Compose implementation. Added SettingsUi.kt (composable settings screens, dialogs and helpers), converted SettingsPreferenceFragment and SafetyPreferenceFragment to use Compose, and removed AbstractPreferenceFragment plus the old preference/layout XML files. Added ic_arrow_back drawable and updated strings/styles/theme to drop the old preferenceTheme/layout. Enabled Compose in app/build.gradle.kts and added Compose BOM + libraries to dependencies. This modernizes the settings UX and removes the old preference framework while keeping SharedPreferences as the backing store.

Also fixed a bug where the Outbound Network Proxy (Optional) title in the toolbar was unexpectedly cut.

See #1497, #1501

Before After

@meenbeese meenbeese force-pushed the settings branch 5 times, most recently from 58819da to 59a2566 Compare June 5, 2026 01:08
@meenbeese

Copy link
Copy Markdown
Contributor Author

This PR is ready for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant