Skip to content

Commit

Permalink
Merge pull request #40 from jmabramo/master
Browse files Browse the repository at this point in the history
Reload app list after adding a new app
  • Loading branch information
emilkovacev authored Apr 4, 2022
2 parents 8454683 + 54c6fa0 commit 31217ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions authenticator/views/confirm.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default function Confirm(props) {
<SvgButton
onPress={() => {
const { navigation } = props
save(information, key).then(() => navigation.navigate('application-list'))
save(information, key).then(() => navigation.replace('application-list'))
}}
svg={SaveSvg()}
/>
Expand All @@ -58,7 +58,7 @@ export default function Confirm(props) {

Confirm.propTypes = {
navigation: PropTypes.shape({
navigate: PropTypes.func.isRequired,
replace: PropTypes.func.isRequired,
}).isRequired,
route: PropTypes.shape({
params: PropTypes.shape({
Expand Down

0 comments on commit 31217ed

Please sign in to comment.