Skip to content

Commit

Permalink
Depth Wallpaper: Hide AI mode when custom image enabled
Browse files Browse the repository at this point in the history
Signed-off-by: DrDisagree <[email protected]>
  • Loading branch information
Mahmud0808 committed Nov 10, 2024
1 parent 3093186 commit b03376b
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,7 @@ object PrefsHelper {
FIX_NOTIFICATION_FOOTER_BUTTON_COLOR -> isAtleastA14

CUSTOM_DEPTH_WALLPAPER_SWITCH,
DEPTH_WALLPAPER_ON_AOD,
DEPTH_WALLPAPER_AI_MODE,
DEPTH_WALLPAPER_AI_STATUS -> Build.VERSION.SDK_INT > Build.VERSION_CODES.TIRAMISU
DEPTH_WALLPAPER_ON_AOD -> Build.VERSION.SDK_INT > Build.VERSION_CODES.TIRAMISU

DEPTH_WALLPAPER_FADE_ANIMATION,
DEPTH_WALLPAPER_PARALLAX_EFFECT,
Expand Down Expand Up @@ -317,6 +315,10 @@ object PrefsHelper {

"xposedOpQsHeader" -> Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE

DEPTH_WALLPAPER_AI_MODE,
DEPTH_WALLPAPER_AI_STATUS -> Build.VERSION.SDK_INT > Build.VERSION_CODES.TIRAMISU &&
!getBoolean(CUSTOM_DEPTH_WALLPAPER_SWITCH)

else -> true
}
}
Expand Down

0 comments on commit b03376b

Please sign in to comment.