🚀 **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)
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)
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)
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)
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
🚀 **OShin New CI Build!**
🔗 [查看本次提交](https://github.com/suqi8/OShin-Dev/commit/e388a577868f5671f9373f335ce2c8aade3eddbd)
🔗 [查看本次提交](https://github.com/suqi8/OShin-Dev/commit/e388a577868f5671f9373f335ce2c8aade3eddbd)
🚀 **OShin New CI Build!**
Refactor(Settings): Add layout simplification options and conditional UI
This commit introduces several new settings to provide users with more control over the application's layout and appearance, aiming to simplify the user experience and declutter the interface. These changes are propagated throughout the app using .
### Key Changes:
* **New Simplification Settings:**
* Three new boolean preferences have been added to the settings screen ():
* **Module Simplified Mode** (): Hides the Switch Style button and the App not found notice on the Modules page.
* **Hide Digression Card** (): Hides the By the way (Community) card on the About page.
* **Hide Home Page** (): Removes the Home tab entirely from the main bottom navigation, making the Modules page the default starting screen.
* Corresponding strings have been added to .
* **State Management (, , ):**
* now manages the state for these new options (, , ).
* New s (, , ) are provided in to make these settings accessible throughout the composable tree.
* **Conditional UI Rendering:**
* ****: The bottom navigation bar and the now conditionally render the Home page and its corresponding tab based on the value.
* ****: The App not found notice and the Switch Style text are now only shown if Module Simplified Mode is disabled.
* ****: The By the way card is conditionally rendered based on the value, even when simple mode is not fully enabled.
* **Dialog Style Fallback:**
* ****: The app restart confirmation dialog now displays a standard instead of the custom glass effect dialog if the Disable top bar glass setting is enabled. This ensures a consistent UI style when glass effects are turned off.
* **Minor UI Fixes:**
* ****: The is now conditionally rendered to prevent overlapping with the 's built-in title when the glass effect is disabled.
* ****: Added missing padding to the app icon in the restart dialog list for better alignment.
🔗 [查看本次提交](https://github.com/suqi8/OShin-Dev/commit/dfffaff40e9d612ea5bcbd5bb5c6fe52d14ac51a)
Refactor(Settings): Add layout simplification options and conditional UI
This commit introduces several new settings to provide users with more control over the application's layout and appearance, aiming to simplify the user experience and declutter the interface. These changes are propagated throughout the app using .
### Key Changes:
* **New Simplification Settings:**
* Three new boolean preferences have been added to the settings screen ():
* **Module Simplified Mode** (): Hides the Switch Style button and the App not found notice on the Modules page.
* **Hide Digression Card** (): Hides the By the way (Community) card on the About page.
* **Hide Home Page** (): Removes the Home tab entirely from the main bottom navigation, making the Modules page the default starting screen.
* Corresponding strings have been added to .
* **State Management (, , ):**
* now manages the state for these new options (, , ).
* New s (, , ) are provided in to make these settings accessible throughout the composable tree.
* **Conditional UI Rendering:**
* ****: The bottom navigation bar and the now conditionally render the Home page and its corresponding tab based on the value.
* ****: The App not found notice and the Switch Style text are now only shown if Module Simplified Mode is disabled.
* ****: The By the way card is conditionally rendered based on the value, even when simple mode is not fully enabled.
* **Dialog Style Fallback:**
* ****: The app restart confirmation dialog now displays a standard instead of the custom glass effect dialog if the Disable top bar glass setting is enabled. This ensures a consistent UI style when glass effects are turned off.
* **Minor UI Fixes:**
* ****: The is now conditionally rendered to prevent overlapping with the 's built-in title when the glass effect is disabled.
* ****: Added missing padding to the app icon in the restart dialog list for better alignment.
🔗 [查看本次提交](https://github.com/suqi8/OShin-Dev/commit/dfffaff40e9d612ea5bcbd5bb5c6fe52d14ac51a)
🚀 **OShin New CI Build!**
Fix(About): Correct visibility logic for By the way section
This commit corrects a logical error in the file that controls the visibility of the By the way section, which contains the .
The condition has been changed from to .
This ensures the section is correctly displayed when either Simplified Mode is disabled or when the Digression content is explicitly configured to be visible, aligning with the intended behavior.
🔗 [查看本次提交](https://github.com/suqi8/OShin-Dev/commit/627e317fa57d2608186e84c2dcb4ed72ebf53904)
Fix(About): Correct visibility logic for By the way section
This commit corrects a logical error in the file that controls the visibility of the By the way section, which contains the .
The condition has been changed from to .
This ensures the section is correctly displayed when either Simplified Mode is disabled or when the Digression content is explicitly configured to be visible, aligning with the intended behavior.
🔗 [查看本次提交](https://github.com/suqi8/OShin-Dev/commit/627e317fa57d2608186e84c2dcb4ed72ebf53904)
🚀 **OShin New CI Build!**
Fix(About): Correct visibility logic for community card
This commit fixes a bug in the About screen where the By the way section and the community card were incorrectly displayed when simple mode was enabled.
The logical condition has been changed from (OR) to (AND). This ensures that the section is only shown when both simple mode is disabled and the digression section is not hidden, restoring the intended visibility behavior.
🔗 [查看本次提交](https://github.com/suqi8/OShin-Dev/commit/430f4a4dc03c4e95975b19dcf650a9b992368fae)
Fix(About): Correct visibility logic for community card
This commit fixes a bug in the About screen where the By the way section and the community card were incorrectly displayed when simple mode was enabled.
The logical condition has been changed from (OR) to (AND). This ensures that the section is only shown when both simple mode is disabled and the digression section is not hidden, restoring the intended visibility behavior.
🔗 [查看本次提交](https://github.com/suqi8/OShin-Dev/commit/430f4a4dc03c4e95975b19dcf650a9b992368fae)
🚀 **OShin New CI Build!**
Refactor(UI): Replace G2RoundedCornerShape with ContinuousRoundedRectangle and update dependencies
This commit refactors UI components to replace the deprecated with for defining shapes. Additionally, it updates several dependencies to their latest versions and adapts the component to changes in the Miuix library's Slider API.
### Key Changes:
* **Shape Refactoring:**
* In and , has been replaced with from the library. This standardizes the shape implementation for UI elements like cards and dropdowns.
* **Slider API Update:**
* The component has been updated to align with the new composable API from the Miuix library.
* The parameters , , , and have been replaced with , , and .
* The logic now passes the new value directly in the callback.
* **Dependency Updates ():**
* Multiple libraries have been updated to newer versions, including:
*
*
*
*
*
*
*
*
🔗 [查看本次提交](https://github.com/suqi8/OShin-Dev/commit/3bce86c2493bd2da3a0a2cbef5f46c542c11d9db)
Refactor(UI): Replace G2RoundedCornerShape with ContinuousRoundedRectangle and update dependencies
This commit refactors UI components to replace the deprecated with for defining shapes. Additionally, it updates several dependencies to their latest versions and adapts the component to changes in the Miuix library's Slider API.
### Key Changes:
* **Shape Refactoring:**
* In and , has been replaced with from the library. This standardizes the shape implementation for UI elements like cards and dropdowns.
* **Slider API Update:**
* The component has been updated to align with the new composable API from the Miuix library.
* The parameters , , , and have been replaced with , , and .
* The logic now passes the new value directly in the callback.
* **Dependency Updates ():**
* Multiple libraries have been updated to newer versions, including:
*
*
*
*
*
*
*
*
🔗 [查看本次提交](https://github.com/suqi8/OShin-Dev/commit/3bce86c2493bd2da3a0a2cbef5f46c542c11d9db)
🚀 **OShin New CI Build!**
feat(Settings): Add option to disable device name validation
This commit introduces a new feature that disables the server-side validation check when changing the device or Bluetooth name in the Android settings. This allows users to set custom names without being restricted by the default verification logic.
### Key Changes:
* **:**
* A new hook is added for .
* It targets the method within .
* The method is hooked to always return , effectively disabling the name validation check.
* Minor refactoring was done to cache the instance for cleaner code.
* **:**
* A new preference has been added to the settings UI.
* This switch allows users to toggle the Disable device name validation feature on or off.
* **:**
* A new string resource, , was added to provide the label for the new settings toggle.
🔗 [查看本次提交](https://github.com/suqi8/OShin-Dev/commit/85f9874deb45d7d68dc9451991095820b2f6ffc2)
feat(Settings): Add option to disable device name validation
This commit introduces a new feature that disables the server-side validation check when changing the device or Bluetooth name in the Android settings. This allows users to set custom names without being restricted by the default verification logic.
### Key Changes:
* **:**
* A new hook is added for .
* It targets the method within .
* The method is hooked to always return , effectively disabling the name validation check.
* Minor refactoring was done to cache the instance for cleaner code.
* **:**
* A new preference has been added to the settings UI.
* This switch allows users to toggle the Disable device name validation feature on or off.
* **:**
* A new string resource, , was added to provide the label for the new settings toggle.
🔗 [查看本次提交](https://github.com/suqi8/OShin-Dev/commit/85f9874deb45d7d68dc9451991095820b2f6ffc2)