1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00

DROID-2319 Settings | Fix | Do not allow cutting or modifying space name text based on ACL (#1056)

This commit is contained in:
Evgenii Kozlov 2024-04-03 15:41:35 +02:00 committed by GitHub
parent 675fc0ebda
commit d73d5a2fc9
Signed by: github
GPG key ID: B5690EEEBB952194

View file

@ -217,7 +217,7 @@ fun SettingsTextField(
.fillMaxWidth(),
onValueChange = onValueChange,
enabled = isEditEnabled,
readOnly = false,
readOnly = !isEditEnabled,
textStyle = HeadlineHeading.copy(color = colorResource(id = R.color.text_primary)),
cursorBrush = SolidColor(colorResource(id = R.color.orange)),
visualTransformation = visualTransformation,