mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-03-17 21:31:57 +01:00
Fixes the navigation padding on Samsung devices for the Shorts tab.
This commit is contained in:
parent
b366aee1a9
commit
497ae937fd
@ -31,6 +31,7 @@ import androidx.compose.foundation.layout.consumeWindowInsets
|
||||
import androidx.compose.foundation.layout.fillMaxSize
|
||||
import androidx.compose.foundation.layout.fillMaxWidth
|
||||
import androidx.compose.foundation.layout.height
|
||||
import androidx.compose.foundation.layout.navigationBarsPadding
|
||||
import androidx.compose.foundation.layout.padding
|
||||
import androidx.compose.foundation.pager.VerticalPager
|
||||
import androidx.compose.foundation.pager.rememberPagerState
|
||||
@ -308,7 +309,7 @@ private fun RenderVideoOrPictureNote(
|
||||
}
|
||||
}
|
||||
|
||||
Row(modifier = Modifier.fillMaxSize(1f), verticalAlignment = Alignment.Bottom) {
|
||||
Row(modifier = Modifier.fillMaxSize(1f).navigationBarsPadding(), verticalAlignment = Alignment.Bottom) {
|
||||
Column(Modifier.weight(1f), verticalArrangement = Arrangement.Center) {
|
||||
RenderAuthorInformation(note, nav, accountViewModel)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user