From 848ffa6d57fc23b5ac5852c0b6035315a906867a Mon Sep 17 00:00:00 2001 From: fankesyooni Date: Sun, 14 Jan 2024 12:42:01 +0800 Subject: [PATCH] docs: update comments --- .../kotlin/com/highcapable/flexiui/component/Scaffold.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flexiui-core/src/commonMain/kotlin/com/highcapable/flexiui/component/Scaffold.kt b/flexiui-core/src/commonMain/kotlin/com/highcapable/flexiui/component/Scaffold.kt index 6c34c3f..0fd805c 100644 --- a/flexiui-core/src/commonMain/kotlin/com/highcapable/flexiui/component/Scaffold.kt +++ b/flexiui-core/src/commonMain/kotlin/com/highcapable/flexiui/component/Scaffold.kt @@ -124,7 +124,7 @@ private fun ScaffoldLayout( navigationBarPlaceables.forEach { navigationBarHeight += it.height } // Measure content with [navigationBar] height. val contentConstraints = constraints.copy( - // The content width follow baseConstraints, use innerPadding to control content padding. + // The content width follow [baseConstraints], use [innerPadding] to control content padding. maxWidth = baseConstraints.maxWidth, // The maxHeight of content must be >= minHeight, if not will coerce to minHeight. maxHeight = (constraints.maxHeight - currentY - navigationBarHeight).coerceAtLeast(constraints.minHeight)