mirror of
https://github.com/fromchat-messenger/app.git
synced 2026-09-22 19:15:05 +03:00
Implement new account deletion and auth flows
Signed-off-by: denis0001-dev <denis0001.dev@ya.ru>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package com.pr0gramm3r101.utils
|
||||
|
||||
import androidx.compose.foundation.layout.WindowInsets
|
||||
import androidx.compose.foundation.layout.ime
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.platform.LocalDensity
|
||||
|
||||
@Composable
|
||||
actual fun rememberImeMotion(): ImeMotion {
|
||||
val density = LocalDensity.current
|
||||
val currentBottomPx = WindowInsets.ime.getBottom(density)
|
||||
return ImeMotion(
|
||||
currentBottomPx = currentBottomPx,
|
||||
sourceBottomPx = currentBottomPx,
|
||||
targetBottomPx = currentBottomPx,
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user