Skip to content

Commit

Permalink
Settings: hide lightning address when no node selected
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloudis committed Oct 17, 2023
1 parent 139f8b2 commit 165d5a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion views/Settings/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,8 @@ export default class Settings extends React.Component<
</View>
)}

{BackendUtils.supportsCustomPreimages() &&
{selectedNode &&
BackendUtils.supportsCustomPreimages() &&
!NodeInfoStore.testnet && (
<View
style={{
Expand Down

0 comments on commit 165d5a2

Please sign in to comment.