Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
package com.dayscounter.ui.screen.components.createedit

import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.ExperimentalLayoutApi
import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.imeNestedScroll
import androidx.compose.foundation.layout.imePadding
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.verticalScroll
Expand Down Expand Up @@ -115,7 +118,7 @@ private fun colorAndDisplayOptionSection(
/**
* Контент формы создания/редактирования.
*/
@OptIn(ExperimentalMaterial3Api::class)
@OptIn(ExperimentalMaterial3Api::class, ExperimentalLayoutApi::class)
@Composable
internal fun createEditFormContent(params: CreateEditFormParams) {
// Функция для отслеживания изменений
Expand Down Expand Up @@ -144,6 +147,8 @@ internal fun createEditFormContent(params: CreateEditFormParams) {
Modifier
.fillMaxSize()
.padding(params.paddingValues)
.imePadding()
.imeNestedScroll()
.verticalScroll(rememberScrollState())
.padding(dimensionResource(R.dimen.spacing_regular)),
) {
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ kotlin.annotationProcessor=ksp
org.gradle.configuration-cache=true
org.gradle.configuration-cache.problems=warn
# App version (versionName: displayed in App Store, versionCode: build number)
VERSION_NAME=1.0
VERSION_CODE=5
VERSION_NAME=1.1
VERSION_CODE=6
android.uniquePackageNames=false
android.dependency.useConstraints=true
android.r8.strictFullModeForKeepRules=false
android.disallowKotlinSourceSets=false
# Disable WARNING: The property android.dependency.excludeLibraryComponentsFromConstraints improves project import performance for very large projects...
android.generateSyncIssueWhenLibraryConstraintsAreEnabled=false
android.generateSyncIssueWhenLibraryConstraintsAreEnabled=false