fix: 刷新提示位置

This commit is contained in:
HuanCheng65 2023-10-05 14:49:28 +08:00
parent 131376f183
commit dc188b9d2d
No known key found for this signature in database
GPG Key ID: 5EC9DD60A32C7360
1 changed files with 34 additions and 32 deletions

View File

@ -327,6 +327,7 @@ private fun FeedList(
enter = EnterTransition.None, enter = EnterTransition.None,
exit = shrinkVertically() + fadeOut() exit = shrinkVertically() + fadeOut()
) { ) {
Column {
BlockableContent( BlockableContent(
blocked = blocked, blocked = blocked,
blockedTip = { BlockTip(text = { Text(text = stringResource(id = R.string.tip_blocked_thread)) }) }, blockedTip = { BlockTip(text = { Text(text = stringResource(id = R.string.tip_blocked_thread)) }) },
@ -363,7 +364,6 @@ private fun FeedList(
} }
} }
} }
}
if (isRefreshPosition) { if (isRefreshPosition) {
RefreshTip(onRefresh) RefreshTip(onRefresh)
} }
@ -371,6 +371,8 @@ private fun FeedList(
} }
} }
} }
}
}
@Composable @Composable
private fun RefreshTip( private fun RefreshTip(