diff --git a/code/UI/ArkTsComponentCollection/ComponentCollection/entry/src/main/ets/pages/components/navigation/navigationSample/ListExpandSafeArea.ets b/code/UI/ArkTsComponentCollection/ComponentCollection/entry/src/main/ets/pages/components/navigation/navigationSample/ListExpandSafeArea.ets index 175614a4b364c384bf1fb3211c86fe505f694227..f4f503739159535386d75db3b13358e275203395 100644 --- a/code/UI/ArkTsComponentCollection/ComponentCollection/entry/src/main/ets/pages/components/navigation/navigationSample/ListExpandSafeArea.ets +++ b/code/UI/ArkTsComponentCollection/ComponentCollection/entry/src/main/ets/pages/components/navigation/navigationSample/ListExpandSafeArea.ets @@ -59,10 +59,10 @@ struct ListExpandSafeArea { .height('88%') .width('93%') .padding({ top: '5%' }) - .expandSafeArea(this.expand ? [SafeAreaType.SYSTEM] : [], this.expand ? [SafeAreaEdge.TOP, SafeAreaEdge.BOTTOM] : []) } .height('100%') .width('100%') .backgroundColor($r('app.color.background_shallow_grey')) + .expandSafeArea(this.expand ? [SafeAreaType.SYSTEM] : [], this.expand ? [SafeAreaEdge.TOP, SafeAreaEdge.BOTTOM] : []) } } \ No newline at end of file