暗黑模式缺省图;UI调整
This commit is contained in:
@@ -71,7 +71,7 @@ fun FollowerListScreen(userId: Int) {
|
||||
Box(
|
||||
modifier = Modifier
|
||||
.fillMaxSize()
|
||||
.padding(top = 188.dp),
|
||||
.padding(top = 149.dp),
|
||||
contentAlignment = Alignment.TopCenter
|
||||
) {
|
||||
Column(
|
||||
@@ -79,22 +79,24 @@ fun FollowerListScreen(userId: Int) {
|
||||
modifier = Modifier.fillMaxWidth()
|
||||
) {
|
||||
Image(
|
||||
painter = painterResource(id = R.mipmap.rider_pro_followers_empty),
|
||||
painter = painterResource(
|
||||
id =if(AppState.darkMode) R.mipmap.qst_fs_qs_as_img
|
||||
else R.mipmap.qst_fs_qs_img),
|
||||
contentDescription = null,
|
||||
modifier = Modifier.size(140.dp)
|
||||
modifier = Modifier.size(181.dp)
|
||||
)
|
||||
Spacer(modifier = Modifier.size(24.dp))
|
||||
androidx.compose.material.Text(
|
||||
text = "No one's paying attention to you yet",
|
||||
text = "还没有人关注哦",
|
||||
color = appColors.text,
|
||||
fontSize = 16.sp,
|
||||
fontWeight = FontWeight.W600
|
||||
)
|
||||
Spacer(modifier = Modifier.size(8.dp))
|
||||
androidx.compose.material.Text(
|
||||
text = "Your vibe attracts your tribe.",
|
||||
text = "去发布动态,吸引更多粉丝~",
|
||||
color = appColors.text,
|
||||
fontSize = 16.sp,
|
||||
fontSize = 14.sp,
|
||||
fontWeight = FontWeight.W400
|
||||
)
|
||||
}
|
||||
|
||||
@@ -78,7 +78,9 @@ fun FollowerNoticeScreen() {
|
||||
modifier = Modifier.fillMaxWidth()
|
||||
) {
|
||||
Image(
|
||||
painter = painterResource(id = R.mipmap.qst_fs_qs_img),
|
||||
painter = painterResource(
|
||||
id =if(AppState.darkMode) R.mipmap.qst_fs_qs_as_img
|
||||
else R.mipmap.qst_fs_qs_img),
|
||||
contentDescription = "No Followers",
|
||||
modifier = Modifier.size(181.dp)
|
||||
)
|
||||
|
||||
@@ -81,7 +81,9 @@ fun FollowingListScreen(userId: Int) {
|
||||
modifier = Modifier.fillMaxWidth()
|
||||
) {
|
||||
Image(
|
||||
painter = painterResource(id = R.mipmap.qst_gz_qs_img_my),
|
||||
painter = painterResource(
|
||||
id =if(AppState.darkMode) R.mipmap.qst_gz_qs_as_img_my
|
||||
else R.mipmap.qst_gz_qs_img_my),
|
||||
contentDescription = null,
|
||||
modifier = Modifier.size(181.dp)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user