Merge pull request #2532 from element-hq/feature/bma/fixLayoutPoll

Fix layout poll
This commit is contained in:
Benoit Marty 2024-03-12 16:38:49 +01:00 committed by GitHub
commit 73297fed80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 12 additions and 9 deletions

1
.gitignore vendored
View file

@ -56,6 +56,7 @@ captures/
.idea/libraries
# Android Studio 3 in .gitignore file.
.idea/caches
.idea/copilot
.idea/inspectionProfiles
# Shelved changes in the IDE
.idea/shelf

View file

@ -39,6 +39,7 @@ import androidx.compose.runtime.LaunchedEffect
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.tooling.preview.PreviewParameter
import androidx.compose.ui.unit.dp
import io.element.android.compound.theme.ElementTheme
@ -195,7 +196,8 @@ private fun PollHistoryList(
text = emptyStringResource,
style = ElementTheme.typography.fontBodyLgRegular,
color = ElementTheme.colors.textSecondary,
modifier = Modifier.padding(vertical = 24.dp, horizontal = 16.dp)
modifier = Modifier.padding(vertical = 24.dp, horizontal = 16.dp),
textAlign = TextAlign.Center,
)
}
}

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:240ae2c6b7efac68c972049db5234f71813885ab7f3a93b22db8735e650b78cc
size 16621
oid sha256:e73c55b17bf0f0c7f9e398e08471e778ce91145a63410b728a33b0ad1d521a52
size 16586

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3ebe36dfe126b2d71254116b0ac4c3aec05dca5862f4f134d8f4a5fb179eba61
size 16085
oid sha256:2540819ea467d626deab3d29b4e1fcfb385c389b3a22b43308d9974478884c66
size 16065

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a2a347e2b10c3e914c36e33e273e58c8263e6c48417b338390efe877494cb5e
size 15824
oid sha256:836f4eac4edb453b851c16050db187ce29fe90fb651c60900d41437acd794895
size 15796

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:980630d02716dbc61840c14d839d6d3a2eac99c85adc78547a2c7f9cf920bf4a
size 15308
oid sha256:ebd21ad1a1de06c7de5d13134913785557fc743770202292630c20a85875208e
size 15300