OShin | O神「自动构建 CI Build」
1.51K subscribers
2 photos
771 files
678 links
OPPO/OneOlus 系统辅助应用

Channel/频道
@OPatchA
Chat/聊天
@OPatchB
Download Telegram
🚀 **OShin New CI Build!**

Merge pull request #64 from Liberations/mydev

feat(ota):add OTA download URL extraction and clipboard copy
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/c1fb9306c04d4eabc0dfb915dfe40198b2eb01c9)
🚀 **OShin New CI Build!**

Refactor(OTA): Improve reliability of pre-install check bypass

This commit refactors the hook responsible for bypassing OTA (Over-the-Air) update pre-install checks to make it more robust against code changes in the target application.

Instead of hardcoding class, method, and field names (like , , and ), the new implementation dynamically finds them at runtime:
* The target class and method are now located by searching for the string constant .
* The boolean field that controls the check is then located within that class.

This dynamic approach ensures the hook continues to function correctly even if the names are changed during app updates, improving the long-term reliability of the feature.
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/ef97031b838cb1c4d8de0b2030acbd78d42d53eb)
🚀 **OShin New CI Build!**

Merge pull request #65 from Liberations/mydev

feat(themestore): enable partial VIP features and remove splash screen ads
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/4609012655ed64e2eed327bf87cc6db9f99f6d72)
3
🚀 **OShin New CI Build!**

Refactor(UI): Introduce for dynamic list item styling

This commit refactors the core UI components to replace the manual parameter with a more robust and declarative enum (, , , ).

This change centralizes the layout logic within the , which now automatically calculates the appropriate padding and height for list items based on their position within a card. This simplifies component call sites and ensures consistent, ColorOS-style list appearances.

### Key Changes:

* ** Enum:** Introduced an enum to define the position of an item in a list, abstracting away manual padding calculations.
* ** Refactor:**
* Replaced with the new parameter.
* The component now dynamically adjusts its top and bottom padding based on the item's position, adding extra space for top, bottom, and single items.
* Improved layout measurement logic for better alignment of title and summary text.
* **Component Updates:**
* All components (, , , , etc.) have been updated to accept instead of .
* Function names have been standardized to PascalCase (e.g., -> ) for consistency.
* ** Refinement:**
* The composable has been significantly refactored to more accurately replicate the native ColorOS switch animation, including press feedback and precise animation timings.
* The modifier is now conditionally applied only when an callback is provided, allowing the switch to act as a purely visual element within a larger clickable component like .
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/e4be776cb3ac53945f0f67772430f9916a69a562)
🚀 **OShin New CI Build!**

Refactor(UI): Adjust spacing and reorder sections on MainHome screen

This commit refactors the layout of the screen for better visual organization.

The top spacer has been reduced from to to decrease the empty space at the top of the screen.

Additionally, the Today Highlights section has been moved to appear after the All Features section, improving the logical flow of content on the page.
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/4b4bee4951f94bcfd3e2e4003e124d30e5d26e89)
🚀 **OShin New CI Build!**

Feat(UI): Refactor main screen and add bottom bar style option

This commit introduces significant refactoring to the main screen, improves componentization, and adds a new option to switch the bottom navigation bar style.

### Key Changes:

* **Bottom Navigation Bar Style:**
* A new setting, Disable bottom bar glass effect (), has been added to the About screen.
* When enabled, the custom glass-style is replaced with the standard .
* This provides users with a choice between a visually rich or a more conventional navigation experience.

* **Main Screen Refactoring:**
* The logic for the main screen () has been heavily refactored for clarity and better structure.
* Complex UI elements and effects have been extracted into their own composable functions:
* : A new composable for rendering the blurred top app bar background.
* : The update dialog logic has been moved to its own file.
* : A new composable to manage the animation and style-switching of the bottom navigation bar.
* : A dedicated effect to handle the show/hide logic of the bottom bar based on scroll state.
* : A custom modifier to apply the blur effect to pager pages during scrolling, cleaning up the pager's content lambda.
* Code within is now better organized with more descriptive function and variable names.

* **Component & Type Updates:**
* The custom data class has been removed in favor of .
* The composable now uses instead of a painter resource ID for icons, aligning with the new type.
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/18e3ce3cacc7eeccf8409f598ac9cf441cb8f75d)
🚀 **OShin New CI Build!**

Fix(SoftUpdate): Prefer for release date

This commit updates the software update page to prioritize the date from the GitHub release information.

If is available, it will be used as the release date. If it is null, the system will fall back to using the date. This ensures that the displayed release date more accurately reflects when the release was officially published, rather than just when it was created.
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/6be3f06bcd801d6ec6f359c8feae7d21b267401c)
2
🚀 **OShin New CI Build!**

Merge pull request #69 from Liberations/mydev

fix(securitypermission): replace 30-day label with Always allow
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/0ae79229f25f7fab1d21c95495c2baddc2d8ac2b)
🚀 **OShin New CI Build!**

Feat(Module): Cache app info and preserve scroll state

This commit introduces significant performance and user experience improvements to the module list screen. It implements a caching layer for application information and preserves the user's scroll position, resulting in a faster and more seamless browsing experience.

### Key Changes:

* **App Information Caching:**
* A new data class has been created to store an app's name, icon, and dominant color.
* The now includes a () to cache this data.
* When an app item is loaded, the system first checks the ViewModel's cache. If the data exists, it's rendered immediately, avoiding redundant lookups and color calculations.
* If the information is not cached, it is fetched, and the result is stored in the ViewModel for future use. This significantly speeds up list rendering, especially when scrolling back and forth.

* **Scroll Position Preservation:**
* The now tracks the and of the module list.
* The screen uses initialized with the values from the ViewModel, restoring the user's scroll position when they return to the screen.
* A with has been added to continuously monitor and save the scroll position to the ViewModel as the user scrolls.

* **UI State Persistence:**
* In , the state has been changed to use . This ensures the bottom bar's visibility state (shown or hidden based on scroll) is preserved across configuration changes, such as device rotation.

* **UI Refinements:**
* Replaced with the standard composable for consistency in the module list and search results.
* Minor styling adjustments have been made to the .
🔗 [查看本次提交](https://github.com/suqi8/OShin/commit/fdf0c86dedd9ccf72cc3712eabc19a6aedd8b472)
1