Michael Bichlmeier
01/04/2023, 2:49 PMBuild.VERSION.SDK_INT < VERSION_CODES.TIRAMISU
Something like:
fun shouldShowCustomAcceptPushesDialog() : Boolean {
contract {
returns(true) implies (Build.VERSION.SDK_INT < VERSION_CODES.TIRAMISU)
returns(false) implies (Build.VERSION.SDK_INT >= VERSION_CODES.TIRAMISU)
}
return Build.VERSION.SDK_INT < VERSION_CODES.TIRAMISU
}
Can someone help me what I’m doing wrong here: unsupported construction
🤷ephemient
01/04/2023, 3:29 PMephemient
01/04/2023, 3:30 PMMichael Bichlmeier
01/04/2023, 3:36 PM