Skip to content

Commit

Permalink
example: Disable PageUserScroll on WasmJs platform
Browse files Browse the repository at this point in the history
  • Loading branch information
YuKongA committed Aug 31, 2024
1 parent f64767c commit 4e6bb88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion composeApp/src/commonMain/kotlin/ThirdPage.kt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ fun ThirdPage(
MiuixSuperSwitch(
title = "Enable Page User Scroll",
checked = enablePageUserScroll,
onCheckedChange = onEnablePageUserScrollChange
onCheckedChange = onEnablePageUserScrollChange,
enabled = platform() != Platform.WasmJs,
)
MiuixSuperSwitch(
title = "Enable Top Bar Blur",
Expand Down

0 comments on commit 4e6bb88

Please sign in to comment.