Skip to content

Rewrite MainDesign#93

Merged
Goooler merged 1 commit into
trunkfrom
rewrite-main-design
Apr 21, 2026
Merged

Rewrite MainDesign#93
Goooler merged 1 commit into
trunkfrom
rewrite-main-design

Conversation

@Goooler
Copy link
Copy Markdown
Owner

@Goooler Goooler commented Apr 21, 2026

Refs #65.

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

Rewrites the app’s main screen UI to Jetpack Compose as part of the “Rewrite UI in Compose” effort (Refs #65).

Changes:

  • Removed data-binding XML layouts for the main screen and about dialog.
  • Implemented MainDesign UI in Compose, including an in-screen About AlertDialog.
  • Adjusted MainActivity manifest attributes related to uiMode handling and labeling.

Reviewed changes

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

File Description
design/src/main/res/layout/design_main.xml Removed legacy data-binding main screen layout (replaced by Compose).
design/src/main/res/layout/design_about.xml Removed legacy data-binding about dialog layout (replaced by Compose).
design/src/main/java/com/github/kr328/clash/design/MainDesign.kt New Compose implementation of the main screen, action cards/labels, and About dialog.
app/src/main/AndroidManifest.xml Updated MainActivity manifest attributes (removed uiMode configChanges + label).

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

Comment thread design/src/main/java/com/github/kr328/clash/design/MainDesign.kt
Comment thread design/src/main/java/com/github/kr328/clash/design/MainDesign.kt
Comment thread app/src/main/AndroidManifest.xml
@Goooler Goooler merged commit f7d41f3 into trunk Apr 21, 2026
5 checks passed
@Goooler Goooler deleted the rewrite-main-design branch April 21, 2026 03:47
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