fix: issue in which ime padding is not applied to ProfileSettingsScreen
Signed-off-by: Infi <infi@infi.sh>
This commit is contained in:
parent
6ea48cc33b
commit
ebd42b723f
|
|
@ -12,6 +12,7 @@ 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.imePadding
|
||||
import androidx.compose.foundation.layout.padding
|
||||
import androidx.compose.foundation.layout.size
|
||||
import androidx.compose.foundation.layout.width
|
||||
|
|
@ -266,8 +267,10 @@ fun ProfileSettingsScreen(
|
|||
)
|
||||
},
|
||||
) { pv ->
|
||||
Box(Modifier.padding(pv)) {
|
||||
|
||||
Box(
|
||||
Modifier
|
||||
.padding(pv)
|
||||
.imePadding()) {
|
||||
val scrollState = rememberScrollState()
|
||||
Column(
|
||||
modifier = Modifier
|
||||
|
|
|
|||
Loading…
Reference in New Issue