This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import androidx.compose.material3.adaptive.HingeInfo | |
import androidx.compose.material3.adaptive.WindowAdaptiveInfo | |
import androidx.window.core.layout.WindowSizeClass | |
sealed class DeviceType : Comparable<DeviceType> { | |
abstract val minWidth: Int | |
abstract val minHeight: Int | |
abstract val rank: Int | |
override fun compareTo(other: DeviceType): Int = this.rank - other.rank |