How to know if tablet or phone in Android
I have a var in Swift like this :
@Published var textFieldSize = UIDevice.current.userInterfaceIdiom == .pad ? 20.0 : 12.0
How can i get the same device type (phone or tablet) but in Jetpack Compose Android ??