File tree Expand file tree Collapse file tree
app/src/main/java/com/rosan/installer
main/settings/preferred/theme
miuix/settings/preferred/theme
build-plugins/src/main/kotlin Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ class AppSettingsRepositoryImpl(
135135 seedColorInt = prefs[AppDataStore .THEME_SEED_COLOR ] ? : PresetColors .first().color.toArgb(),
136136 useDynColorFollowPkgIcon = prefs[AppDataStore .UI_DYN_COLOR_FOLLOW_PKG_ICON ] ? : false ,
137137 useDynColorFollowPkgIconForLiveActivity = prefs[AppDataStore .LIVE_ACTIVITY_DYN_COLOR_FOLLOW_PKG_ICON ] ? : false ,
138- useBlur = prefs[AppDataStore .UI_USE_BLUR ] ? : (Build .VERSION .SDK_INT >= Build .VERSION_CODES .S ),
138+ useBlur = prefs[AppDataStore .UI_USE_BLUR ] ? : (Build .VERSION .SDK_INT >= Build .VERSION_CODES .TIRAMISU ),
139139 predictiveBackAnimation = PredictiveBackAnimation .fromValueOrDefault(
140140 prefs[AppDataStore .PREDICTIVE_BACK_ANIMATION ] ? : PredictiveBackAnimation .MIUIX .value
141141 ),
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ data class ThemeState(
2020 val useMiuixMonet : Boolean = false ,
2121 val useAppleFloatingBar : Boolean = false ,
2222 val seedColor : Color = PresetColors .first().color,
23- val useBlur : Boolean = Build .VERSION .SDK_INT >= Build .VERSION_CODES .S ,
23+ val useBlur : Boolean = Build .VERSION .SDK_INT >= Build .VERSION_CODES .TIRAMISU ,
2424 val predictiveBackAnimation : PredictiveBackAnimation = PredictiveBackAnimation .MIUIX ,
2525 val predictiveBackExitDirection : PredictiveBackExitDirection = PredictiveBackExitDirection .ALWAYS_RIGHT
2626)
Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ fun ThemeSettingsPage(
266266 SegmentedColumn (
267267 title = stringResource(R .string.theme_settings_google_ui)
268268 ) {
269- if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .S ) {
269+ if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .TIRAMISU ) {
270270 item {
271271 SwitchWidget (
272272 icon = AppIcons .Blur ,
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import com.rosan.installer.ui.theme.material.ThemeMode
1414
1515data class ThemeSettingsState (
1616 val showMiuixUI : Boolean = false ,
17- val useBlur : Boolean = Build .VERSION .SDK_INT >= Build .VERSION_CODES .S ,
17+ val useBlur : Boolean = Build .VERSION .SDK_INT >= Build .VERSION_CODES .TIRAMISU ,
1818 val themeMode : ThemeMode = ThemeMode .SYSTEM ,
1919 val paletteStyle : PaletteStyle = PaletteStyle .TonalSpot ,
2020 val colorSpec : ThemeColorSpec = ThemeColorSpec .SPEC_2025 ,
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ fun MiuixThemeSettingsPage(
171171 viewModel.dispatch(ThemeSettingsAction .SetThemeMode (newMode))
172172 }
173173 )
174- if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .S ) {
174+ if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .TIRAMISU ) {
175175 MiuixSwitchWidget (
176176 title = stringResource(R .string.theme_settings_use_blur),
177177 description = stringResource(R .string.theme_settings_use_blur_desc),
@@ -240,7 +240,7 @@ fun MiuixThemeSettingsPage(
240240 }
241241 )
242242 }
243- if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .BAKLAVA && uiState.showLiveActivity)
243+ if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .TIRAMISU && uiState.showLiveActivity)
244244 MiuixSwitchWidget (
245245 title = stringResource(R .string.theme_settings_live_activity_dynamic_color_follow_icon),
246246 description = stringResource(R .string.theme_settings_live_activity_dynamic_color_follow_icon_desc),
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ object BuildConfig {
99 const val MIN_SDK = 26
1010 const val JDK_VERSION = 25
1111
12- const val VERSION_CODE = 53
12+ const val VERSION_CODE = 54
1313}
1414
1515// Get git commit hash safely, compatible with configuration cache
You can’t perform that action at this time.
0 commit comments