Skip to content

Commit

Permalink
remove duplicated logic
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGOrtega committed May 27, 2024
1 parent 59f9c0d commit 9f22905
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/008/src/screens/SettingsScreen.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,6 @@ export const SettingsScreen = ({ visible = false, closeable = true }) => {
login,

setSettings,
showSettings,
toggleShowSettings,
settingsTab = 'user',

Expand Down Expand Up @@ -472,7 +471,7 @@ export const SettingsScreen = ({ visible = false, closeable = true }) => {
return (
<Screen
closeable={closeable}
visible={visible || showSettings}
visible={visible}
onClose={toggleShowSettings}
>
<View style={{ flex: 1, flexDirection: 'row' }}>
Expand Down

0 comments on commit 9f22905

Please sign in to comment.