Skip to content

Commit

Permalink
sweepremoteclose: fix autocapitalize+correct behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloudis committed Feb 7, 2025
1 parent c1b8a12 commit e95b468
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions views/Settings/EmbeddedNode/Chantools/Sweepremoteclosed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ export default class Sweepremoteclosed extends React.Component<
externalSeed: text
})
}
autoCapitalize="none"
autoCorrect={false}
locked={loading}
/>
</>
Expand All @@ -187,6 +189,8 @@ export default class Sweepremoteclosed extends React.Component<
.replace(/^\s\n+|\s\n+$/g, '')
})
}
autoCapitalize="none"
autoCorrect={false}
locked={loading}
/>
</>
Expand Down Expand Up @@ -266,7 +270,7 @@ export default class Sweepremoteclosed extends React.Component<
value={recoveryWindow}
onChangeText={(text: string) =>
this.setState({
recoveryWindow: text
recoveryWindow: text.trim()
})
}
locked={loading}
Expand All @@ -292,7 +296,7 @@ export default class Sweepremoteclosed extends React.Component<
value={sleepSeconds}
onChangeText={(text: string) =>
this.setState({
sleepSeconds: text
sleepSeconds: text.trim()
})
}
locked={loading}
Expand Down Expand Up @@ -339,6 +343,8 @@ export default class Sweepremoteclosed extends React.Component<
)
})
}
autoCapitalize="none"
autoCorrect={false}
locked={loading}
/>
</>
Expand Down

0 comments on commit e95b468

Please sign in to comment.