@momo-kits/native-kits 0.160.1-beta.15-debug → 0.160.1-beta.16-debug
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/compose/build.gradle.kts
CHANGED
|
@@ -234,7 +234,10 @@ fun ColumnScope.MainContent(content: @Composable ()-> Unit){
|
|
|
234
234
|
val density = LocalDensity.current
|
|
235
235
|
val scrollState = LocalScrollState.current
|
|
236
236
|
|
|
237
|
-
Spacer(Modifier.height(
|
|
237
|
+
Spacer(Modifier.height(
|
|
238
|
+
if (options.headerType is HeaderType.DefaultOrExtended || (options.headerType is HeaderType.Transparent && !options.headerType.isFullScreenContent) || options.headerType is HeaderType.Animated)
|
|
239
|
+
AppStatusBar.current + HEADER_HEIGHT.dp else 0.dp)
|
|
240
|
+
)
|
|
238
241
|
|
|
239
242
|
if (inputSearchType == InputSearchType.Animated){
|
|
240
243
|
val scrollDp = with(density) { scrollState.value.toDp() }
|
|
@@ -230,7 +230,9 @@ sealed class HeaderType {
|
|
|
230
230
|
|
|
231
231
|
data object None : HeaderType()
|
|
232
232
|
|
|
233
|
-
data
|
|
233
|
+
data class Transparent(
|
|
234
|
+
val isFullScreenContent: Boolean = false
|
|
235
|
+
) : HeaderType()
|
|
234
236
|
|
|
235
237
|
data class Animated(
|
|
236
238
|
val aspectRatio: AnimatedHeaderRatio = AnimatedHeaderRatio.RATIO_16_9,
|