Skip to content

Rewrite SettingsDesign#86

Merged
Goooler merged 3 commits into
trunkfrom
rewrite-settings-design
Apr 20, 2026
Merged

Rewrite SettingsDesign#86
Goooler merged 3 commits into
trunkfrom
rewrite-settings-design

Conversation

@Goooler
Copy link
Copy Markdown
Owner

@Goooler Goooler commented Apr 20, 2026

Refs #65.

@Goooler Goooler force-pushed the rewrite-settings-design branch from b9c418a to 703908e Compare April 20, 2026 09:21
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR rewrites the Settings landing screen in the design module from an XML/DataBinding implementation to a Jetpack Compose implementation, aligning with the broader “Rewrite UI in Compose” effort (Issue #65).

Changes:

  • Removed the legacy design_settings.xml DataBinding layout for settings.
  • Reimplemented SettingsDesign using Compose (SettingsCommonScreen + a custom entry row).
  • Simplified the SettingsActivity manifest entry (but also removed uiMode handling and the activity label).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
design/src/main/res/layout/design_settings.xml Deletes the old XML/DataBinding settings layout.
design/src/main/java/com/github/kr328/clash/design/SettingsDesign.kt Introduces the new Compose-based settings screen and entry items.
app/src/main/AndroidManifest.xml Updates SettingsActivity declaration (currently drops uiMode configChanges and label).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread app/src/main/AndroidManifest.xml
Comment thread app/src/main/AndroidManifest.xml
Comment thread design/src/main/java/com/github/kr328/clash/design/SettingsDesign.kt Outdated
Goooler and others added 2 commits April 20, 2026 17:24
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@Goooler Goooler merged commit a1d6218 into trunk Apr 20, 2026
1 check passed
@Goooler Goooler deleted the rewrite-settings-design branch April 20, 2026 09:27
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.

2 participants