diff --git a/src/main/ets/view/SafeView.ets b/src/main/ets/view/SafeView.ets index e30b727..519f0d3 100644 --- a/src/main/ets/view/SafeView.ets +++ b/src/main/ets/view/SafeView.ets @@ -57,7 +57,7 @@ export struct SafeView { this.customBuilderParam() } .padding({ - top: this.isImmersive ? 0 : WindowHelper.topRectHeight + 44, + top: this.isImmersive ? 0 : this.hideNavBar ? 44 : WindowHelper.topRectHeight + 44, bottom: this.isImmersive ? 0 : WindowHelper.bottomRectHeight }) .align(Alignment.Top)