mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Fix Poll history 'Load more' button alignment (#2577)
* Fix Poll history 'Load more' button alignment * Update screenshots --------- Co-authored-by: ElementBot <benoitm+elementbot@element.io>
This commit is contained in:
committed by
GitHub
parent
cb763ecce6
commit
f4e5934d1b
+5
@@ -41,6 +41,11 @@ class PollHistoryStateProvider : PreviewParameterProvider<PollHistoryState> {
|
|||||||
activeFilter = PollHistoryFilter.PAST,
|
activeFilter = PollHistoryFilter.PAST,
|
||||||
currentItems = emptyList(),
|
currentItems = emptyList(),
|
||||||
),
|
),
|
||||||
|
aPollHistoryState(
|
||||||
|
activeFilter = PollHistoryFilter.PAST,
|
||||||
|
currentItems = emptyList(),
|
||||||
|
hasMoreToLoad = true,
|
||||||
|
),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
@@ -191,6 +191,7 @@ private fun PollHistoryList(
|
|||||||
Column(
|
Column(
|
||||||
modifier = Modifier.fillParentMaxSize().padding(bottom = 24.dp),
|
modifier = Modifier.fillParentMaxSize().padding(bottom = 24.dp),
|
||||||
verticalArrangement = Arrangement.Center,
|
verticalArrangement = Arrangement.Center,
|
||||||
|
horizontalAlignment = Alignment.CenterHorizontally,
|
||||||
) {
|
) {
|
||||||
val emptyStringResource = if (filter == PollHistoryFilter.PAST) {
|
val emptyStringResource = if (filter == PollHistoryFilter.PAST) {
|
||||||
stringResource(R.string.screen_polls_history_empty_past)
|
stringResource(R.string.screen_polls_history_empty_past)
|
||||||
|
|||||||
+3
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:821058570014a0418b22eb4119122b595f802cabeffcabe30c9085b1485ab2c2
|
||||||
|
size 19568
|
||||||
+3
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a174fd40ab7fa21541c6cf2e25edbe3f286c5aaf7103ec8cf6c4dbc94bba373e
|
||||||
|
size 18512
|
||||||
Reference in New Issue
Block a user