🚀 **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)
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)
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)
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!**
🔗 [查看本次提交](https://github.com/suqi8/OShin-Dev/commit/fd35824035551de857014ecf91a653a04213043d)
🔗 [查看本次提交](https://github.com/suqi8/OShin-Dev/commit/fd35824035551de857014ecf91a653a04213043d)
🚀 **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)