Skip to content

Commit

Permalink
Fix two pane issue on smaller devices
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperDragonXD committed May 30, 2024
1 parent c3a94a1 commit 06141ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lawnchair/src/app/lawnchair/ui/preferences/Preferences.kt
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ fun Preferences(

val blacklistedRoute = twoPaneBlacklist.any { currentRoute.contains(it) }

val useTwoPane = !blacklistedRoute
val useTwoPane = !blacklistedRoute && isExpandedScreen

Providers {
Surface(
Expand Down

0 comments on commit 06141ad

Please sign in to comment.