|
|
|
@ -39,6 +39,7 @@ import androidx.compose.runtime.Composable
|
|
|
|
|
import androidx.compose.runtime.getValue
|
|
|
|
|
import androidx.compose.ui.Alignment
|
|
|
|
|
import androidx.compose.ui.Modifier
|
|
|
|
|
import androidx.compose.ui.graphics.ColorFilter
|
|
|
|
|
import androidx.compose.ui.res.stringResource
|
|
|
|
|
import androidx.compose.ui.tooling.preview.Preview
|
|
|
|
|
import androidx.compose.ui.unit.dp
|
|
|
|
@ -156,6 +157,7 @@ private fun TopicHeader(name: String, description: String, imageUrl: String) {
|
|
|
|
|
AsyncImage(
|
|
|
|
|
model = imageUrl,
|
|
|
|
|
contentDescription = null,
|
|
|
|
|
colorFilter = ColorFilter.tint(MaterialTheme.colorScheme.primary),
|
|
|
|
|
modifier = Modifier
|
|
|
|
|
.align(Alignment.CenterHorizontally)
|
|
|
|
|
.size(216.dp)
|
|
|
|
|