setMinimumRequiredWifiSecurityLevel

This commit is contained in:
BinTianqi
2024-02-03 15:25:27 +08:00
parent 5e433fff0c
commit b412f69ba1
6 changed files with 86 additions and 47 deletions

View File

@@ -342,7 +342,7 @@ private fun UserSessionMessage(
Toast.makeText(myContext, "成功", Toast.LENGTH_SHORT).show()
},
enabled = isDeviceOwner(myDpm)||(isProfileOwner(myDpm)&&profileOwner),
modifier = if(isWear){Modifier}else{Modifier.fillMaxWidth(0.65F)}
modifier = if(isWear){Modifier.fillMaxWidth(0.48F)}else{Modifier.fillMaxWidth(0.65F)}
) {
Text("应用")
}
@@ -354,7 +354,7 @@ private fun UserSessionMessage(
Toast.makeText(myContext, "成功", Toast.LENGTH_SHORT).show()
},
enabled = isDeviceOwner(myDpm)||(isProfileOwner(myDpm)&&profileOwner),
modifier = if(isWear){Modifier}else{Modifier.fillMaxWidth(0.95F)}
modifier = Modifier.fillMaxWidth(0.92F)
) {
Text("默认")
}