faogustavo
04/17/2024, 1:08 AMfaogustavo
04/17/2024, 1:09 AMfaogustavo
04/17/2024, 1:11 AM@OptIn(InternalResourceApi::class)
private fun getFont(name: String): FontResource = FontResource(
"font:$name",
setOf(
org.jetbrains.compose.resources.ResourceItem(
setOf(),
"font/$name.ttf", -1, -1,
),
),
)
faogustavo
04/17/2024, 1:11 AMfaogustavo
04/17/2024, 1:13 AMdidReceiveMemoryWarning
. I also noticed that when opening compose, the memory consumption goes from 39~40mb to 85~90mb.faogustavo
04/17/2024, 9:46 AMMax
04/17/2024, 10:08 AMfaogustavo
04/17/2024, 11:15 AMfaogustavo
04/17/2024, 11:15 AMfaogustavo
04/17/2024, 3:31 PMThe compose resources can be included into an app only by the Compose gradle pluginis the it some script that I need to add to my iOS app to grab the resources? Or a gradle task?
Konstantin Tskhovrebov
04/17/2024, 3:38 PMfaogustavo
04/17/2024, 3:43 PM