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

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

Fix(About): Correct Coolapk username for contributor 酸奶(什么破ai)

This commit corrects the Coolapk username for the contributor 酸奶 in the About screen. The username has been updated from Stracha酸奶茶 to Stracha酸奶菌.
🔗 [查看本次提交](https://github.com/suqi8/OShin-Dev/commit/5ff7d839518c4ee4b91fb63c5e52c93d14e50059)
🚀 **OShin New CI Build!**

Refactor(Settings): Improve preference export and update URI handling

This commit refactors the settings export functionality and modernizes URI creation.

### Key Changes:

* **:**
* The settings export logic now includes preferences from and .
* The list is now created by combining standard feature preferences, a default settings file, and these two new specific preference files to ensure a more comprehensive backup.

* **:**
* Updated the creation of to use the Kotlin extension function, which is a more idiomatic and concise approach.
* Added to suppress the lint warning related to this change.
🔗 [查看本次提交](https://github.com/suqi8/OShin-Dev/commit/d0ff96e559290e6eb32f9b9adfbf9d7d2f662207)
🚀 **OShin New CI Build!**

refactor(About): Introduce Simplified Mode and optimize animations

This commit introduces a new Simplified Mode for the About screen, offering a cleaner, more focused UI by disabling complex animations and background effects. It also refactors the animation logic for better performance and maintainability.

### Key Changes:

* **New About Simplified Mode:**
* A new toggle switch, , has been added to the settings within the About screen. (, )
* When enabled, this mode provides a static, high-performance experience:
* The background blur effect is disabled.
* The scroll-away animation for the header and Check for update button is removed.
* The gradual fade-in effect for content cards is disabled.
* The header title uses a solid color instead of a gradient for better readability.

* **Animation Logic Refactoring ():**
* The function has been refactored to support two distinct logic paths: one for the full-featured mode and a new, simplified one for the new mode.
* In Simplified Mode, most alpha and scale values are set to static values (e.g., , ), effectively disabling the complex scroll-based animations.

* **UI State Management ():**
* The composable now observes the state from the .
* UI elements like , , , and the scroll hint are now conditionally rendered or styled based on whether Simplified Mode is active.

* **Scroll Animation Optimization:**
* The calculation for the Check for update button's scroll-off behavior has been improved. It now uses a derived state to determine the button's vertical offset, preventing it from reappearing incorrectly during fast scrolling.
🔗 [查看本次提交](https://github.com/suqi8/OShin-Dev/commit/bb5f68d2dac451f31e8e9de72aeabf22bce22380)
🚀 **OShin New CI Build!**

Fix(About): Hide community card in simplified mode

This commit updates the About screen to conditionally hide the Community Card section when simplified mode is enabled. This helps to declutter the UI for users who prefer a more minimal interface.

* **:** The and its By the way title are now only rendered if is false.
🔗 [查看本次提交](https://github.com/suqi8/OShin-Dev/commit/c7608a29f312934f86f152835acdfe62c09796be)
🚀 **OShin New CI Build!**

Refactor(Module): Optimize modifier order for shared element transitions

This commit refactors the modifier chain on module cards within the main screen. The modifier is moved after the and modifiers.

This change ensures that the padding and shadow are applied *before* the shared element transition is calculated, preventing visual artifacts and ensuring a smoother animation during navigation. The transition now correctly captures the bounds of the card including its shadow and padding.
🔗 [查看本次提交](https://github.com/suqi8/OShin-Dev/commit/ba9a79da9578589a0ec13ece41829546fe4335db)
🚀 **OShin New CI Build!**

Refactor(Module): Optimize modifier order for shared element transitions

This commit refactors the modifier chain on module cards within the main screen. The modifier is moved after the and modifiers.

This change ensures that the padding and shadow are applied *before* the shared element transition is calculated, preventing visual artifacts and ensuring a smoother animation during navigation. The transition now correctly captures the bounds of the card including its shadow and padding.
🔗 [查看本次提交](https://github.com/suqi8/OShin-Dev/commit/fdb24c8b2ce0faa9b12cf8304787006f025c42f1)
🚀 **OShin New CI Build!**

Fix(Settings): Improve preference handling and backup/restore logic

This commit refactors the settings management logic in to improve how preferences are handled, particularly during backup and restore operations.

### Key Changes:

* **:**
* **Improved Number Type Handling:** When restoring settings from a backup, the logic now correctly distinguishes between integer and floating-point numbers. It checks if a numeric value is a whole number and saves it as an or accordingly, otherwise saving it as a . This prevents floating-point inaccuracies (e.g., saving instead of ).
* **Refined Preference File Discovery:** The logic for finding all preference files to be cleared or backed up has been simplified. It now directly uses without attempting to parse the string, making the process more robust.
* **Added Debug Logging:** A statement has been added to the function to log the name of each preference file being cleared, aiding in future debugging.
🔗 [查看本次提交](https://github.com/suqi8/OShin-Dev/commit/f42980a443a489e4660ada86c13e756687ee83c6)
🚀 **OShin New CI Build!**

Refactor(UI): Centralize glass effect control and enable simple mode by default

This commit refactors the UI to centralize control over the glass/blur effects for top and bottom bars. It also changes the default experience by enabling Simple Home Mode and disabling glass effects for new users, aiming to improve performance out-of-the-box.

### Key Changes:

* **Centralized Glass Effect Control:**
* Introduced , a new in .
* This provides a single, centralized state for the top bar glass effect, which is now read from .
* Removed individual injections from multiple composables (, , etc.), which now consume the value.
* This simplifies state management and removes redundant code.

* **Default Settings Update:**
* The default value for Simple Home Mode () is now set to ().
* The default values for disabling the top and bottom bar glass effects (, ) are also set to (, ).

* **Conditional Title Rendering:**
* The main title () on several pages (, , , , etc.) is now conditionally rendered.
* It only appears if the glass effect is disabled, preventing it from overlapping with the 's built-in top bar title when the glass effect is active.
🔗 [查看本次提交](https://github.com/suqi8/OShin-Dev/commit/b9b7c6f14b3fc06b094db7ce36ea6fe6795b72ed)
💩1