Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
OtavioStasiak committed Nov 18, 2024
1 parent 7c94ae6 commit af2fe14
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions app/views/StatusView/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ const styles = StyleSheet.create({
marginTop: 24,
marginBottom: 12
},
inputLeft: {
position: 'absolute',
left: 12
},
inputStyle: {
borderRadius: 0,
borderTopWidth: 1,
Expand Down Expand Up @@ -149,18 +145,16 @@ const StatusView = (): React.ReactElement => {

const statusType = Accounts_AllowInvisibleStatusOption ? STATUS : STATUS.filter(s => s.id !== 'offline');

const FooterComponent = () => {
return (
<View style={styles.footerComponent}>
<Button
testID='status-view-submit'
disabled={status === user.status && user?.statusText === statusText}
onPress={submit}
title={I18n.t('Save')}
/>
</View>
);
};
const FooterComponent = () => (
<View style={styles.footerComponent}>
<Button
testID='status-view-submit'
disabled={status === user.status && user?.statusText === statusText}
onPress={submit}
title={I18n.t('Save')}
/>
</View>
);

return (
<SafeAreaView testID='status-view'>
Expand Down

0 comments on commit af2fe14

Please sign in to comment.