Skip to content

Commit

Permalink
autofix some errors
Browse files Browse the repository at this point in the history
  • Loading branch information
achou11 committed Feb 3, 2025
1 parent 5ad46a7 commit e4dbe19
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 25 deletions.
2 changes: 1 addition & 1 deletion src/frontend/screens/ObscurePasscode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const ObscurePasscode: NativeNavigationComponent<'ObscurePasscode'> = ({

return (
<ScrollView style={styles.container}>
<Text style={[styles.title]}>{t(m.whatIsObscure)}</Text>
<Text style={styles.title}>{t(m.whatIsObscure)}</Text>

<Text style={{fontSize: 16}}>{t(m.description)}</Text>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const ReviewInvitation = ({
/>
</View>
<Button fullWidth onPress={sendInvite}>
<View style={[styles.flexRow]}>
<View style={styles.flexRow}>
<MaterialIcon name="send" size={25} color={WHITE} />
<Text style={{color: WHITE, fontWeight: 'bold', marginLeft: 10}}>
{t(m.sendInvite)}
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/screens/Sync/HeaderTitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function HeaderTitle() {
style={styles.signalIndicator}>
<WifiIconComponent size={16} color={WHITE} />
</Circle>
<Text numberOfLines={1} style={[styles.wifiText]}>
<Text numberOfLines={1} style={styles.wifiText}>
{ssid || t(m.noWiFi)}
</Text>
</View>
Expand Down
20 changes: 9 additions & 11 deletions src/frontend/sharedComponents/DeviceNameWithIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,17 +103,15 @@ export const DeviceNameWithIcon = ({
const DeviceArchive = () => {
return (
<View
style={[
{
alignItems: 'center',
position: 'relative',
backgroundColor: LIGHT_GREY,
borderRadius: 100,
padding: 40,
width: 35,
height: 35,
},
]}>
style={{
alignItems: 'center',
position: 'relative',
backgroundColor: LIGHT_GREY,
borderRadius: 100,
padding: 40,
width: 35,
height: 35,
}}>
<ShieldIcon
width={50}
height={50}
Expand Down
20 changes: 9 additions & 11 deletions src/frontend/sharedComponents/HookFormTextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,12 @@ export const HookFormTextInput = <InputFields extends FieldValues>({
render={({field: {value, onChange, onBlur}}) => (
<RNTextInput
testID={testID}
style={[
{
flex: 1,
color: BLACK,
fontFamily: 'Rubik_500Medium',
fontSize: 16,
},
]}
style={{
flex: 1,
color: BLACK,
fontFamily: 'Rubik_500Medium',
fontSize: 16,
}}
value={value}
onBlur={onBlur}
onChangeText={onChange}
Expand Down Expand Up @@ -117,9 +115,9 @@ const Counter = <InputFields extends FieldValues>({

return (
<Text
style={[
{color: isMaxLengthError ? RED : LIGHT_GREY},
]}>{`${inputCount}/${maxLength}`}</Text>
style={{
color: isMaxLengthError ? RED : LIGHT_GREY,
}}>{`${inputCount}/${maxLength}`}</Text>
);
};

Expand Down

0 comments on commit e4dbe19

Please sign in to comment.