refactor: use CustomTextInput in login and register screens

- Replace raw TextInput with CustomTextInput in login and register
  for consistent focus border effect across the app
- Add placeholder, secureTextEntry, autoCapitalize, keyboardType
  props to CustomTextInput
- Remove hardcoded default padding (px-3 py-2) and h-11/12 from
  CustomTextInput, callers now set padding via className
- Add explicit px-3 py-2 to existing callers (settings, editEvent)
- Update CLAUDE.md with new CustomTextInput usage and props
This commit is contained in:
2026-02-09 19:15:41 +01:00
parent 868e1ba68d
commit aabce1a5b0
6 changed files with 37 additions and 55 deletions

View File

@@ -44,7 +44,7 @@ const CaldavTextInput = ({
<View className="flex flex-row items-center py-1">
<Text className="ml-4 w-24">{title}:</Text>
<CustomTextInput
className="flex-1 mr-4"
className="flex-1 mr-4 px-3 py-2"
text={value}
onValueChange={onValueChange}
/>