mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
Cleanup and compact code. Also prefer usage of DayNightPreview.
This commit is contained in:
+1
-1
@@ -223,7 +223,7 @@ private fun LabelledReadOnlyField(
|
||||
}
|
||||
|
||||
private fun Modifier.clearFocusOnTap(focusManager: FocusManager): Modifier =
|
||||
this.pointerInput(Unit) {
|
||||
pointerInput(Unit) {
|
||||
detectTapGestures(onTap = {
|
||||
focusManager.clearFocus()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user