You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have a text measurement that is pretty heavy so Dispatchers.Main will cause lag but when i change the context to another dispatcher it works fine on android but it crashes on ios.
i have a text measurement that is pretty heavy so Dispatchers.Main will cause lag but when i change the context to another dispatcher it works fine on android but it crashes on ios.
textLayoutResult = textMeasurer.measure( text = simpleAnnotatedString, style = defaultStyle.copy( fontSize = fontSize.sp, fontWeight = FontWeight(uiState.fontWeight), ), constraints = Constraints.fixed( width = lineWidth, height = lineHeight, ), maxLines = 1, softWrap = false, overflow = TextOverflow.Visible, )
The text was updated successfully, but these errors were encountered: