Skip to content

Commit

Permalink
ZEUS Pay: show info and settings buttons even when error is thrown
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloudis committed Nov 22, 2024
1 parent e018a3b commit 55f9df7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions views/Settings/LightningAddress/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ export default class LightningAddress extends React.Component<
rightComponent={
!loading && !redeeming && !redeemingAll ? (
<Row>
{fees && !error && <InfoButton />}
{lightningAddressHandle && !error && (
{fees && <InfoButton />}
{lightningAddressHandle && (
<SettingsButton />
)}
</Row>
Expand All @@ -283,7 +283,9 @@ export default class LightningAddress extends React.Component<
title={localeString(
'views.Settings.LightningAddress.generateNew'
)}
onPress={() => deleteAndGenerateNewPreimages()}
onPress={() =>
deleteAndGenerateNewPreimages()
}
/>
)}
{!loading &&
Expand Down

0 comments on commit 55f9df7

Please sign in to comment.