Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes to the
NormalCommand
andNormalCommandCategory
classes, as well as updates to the UI components to improve the user interface and code consistency. The most important changes include renaming theCommunication
category toCOM
, adding icons to command tabs, and updating background shapes in the UI.Changes to Command Categories:
src/jvmMain/kotlin/jp/kaleidot725/adbpad/domain/model/command/NormalCommand.kt
: ChangedNormalCommandCategory.Communication
toNormalCommandCategory.COM
for multiple commands. [1] [2] [3]src/jvmMain/kotlin/jp/kaleidot725/adbpad/domain/model/command/NormalCommandCategory.kt
: RenamedCommunication
toCOM
in theNormalCommandCategory
enum.src/jvmMain/kotlin/jp/kaleidot725/adbpad/domain/usecase/command/GetNormalCommandGroup.kt
: Updated filter logic to useNormalCommandCategory.COM
instead ofNormalCommandCategory.Communication
.UI Improvements:
src/jvmMain/kotlin/jp/kaleidot725/adbpad/ui/screen/command/CommandScreen.kt
: Modified padding forCommandTab
and updated category filter to useNormalCommandCategory.COM
.src/jvmMain/kotlin/jp/kaleidot725/adbpad/ui/screen/command/component/CommandTab.kt
: Added icons to command tabs and arranged them with spacing. [1] [2]src/jvmMain/kotlin/jp/kaleidot725/adbpad/ui/screen/command/component/CommandTabItem.kt
: UpdatedCommandTabItem
to include icons and improved background shape handling. [1] [2]Code Enhancements:
src/jvmMain/kotlin/jp/kaleidot725/adbpad/ui/common/resource/Color.kt
: AddedRectangleShape
andShape
imports, and updatedclickableBackground
method to accept a shape parameter. [1] [2] [3]