shahroz
09/30/2021, 2:46 PMCompositionLocalProvider(LocalLayoutDirection provides LayoutDirection.Rtl){
}
I only want this to happen when the locale is RTL, is there any efficient way to find out what layout direction should be used?Csaba Kozák
09/30/2021, 2:54 PMLocalLayoutDirection.current
and make decision based on that.
You only have to provide this if you want to force your layout to be another direction than the system’s.shahroz
09/30/2021, 3:14 PM