Unresolved reference: @MainActivity
Hello, im trying to make an image clickable, but i cant due to this error: Unresolved reference: @MainActivity
Code:
Image( //shop
painter = painterResource(
id = R.drawable.shop_icon),
contentDescription = "shopIcon",
colorFilter = ColorFilter.tint(color = Yellow),
modifier = Modifier
.size(60.dp)
.graphicsLayer...