Skip to content

Commit

Permalink
fix: redeem LNURL for all connectors (#2568)
Browse files Browse the repository at this point in the history
  • Loading branch information
reneaaron authored Jul 14, 2023
1 parent 951f83d commit 3d1fd82
Showing 1 changed file with 23 additions and 24 deletions.
47 changes: 23 additions & 24 deletions src/app/screens/Receive/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -280,27 +280,26 @@ function Receive() {
</Container>
</fieldset>
</form>
{isAlbyUser && (
<div>
<Container justifyBetween maxWidth="sm">
<div className="relative flex items-center mb-8">
<div className="flex-grow border-t border-gray-300 dark:border-gray-700"></div>
<span className="flex-shrink mx-4 text-gray-500 dark:text-gray-400 fw-bold">
{tCommon("or")}
</span>
<div className="flex-grow border-t border-gray-300 dark:border-gray-700"></div>
</div>
<div className="mb-4">
<Button
type="button"
label={t("redeem_lnurl")}
fullWidth
onClick={() => {
navigate("/lnurlRedeem");
}}
/>
</div>

<div>
<Container justifyBetween maxWidth="sm">
<div className="relative flex items-center mb-8">
<div className="flex-grow border-t border-gray-300 dark:border-gray-700"></div>
<span className="flex-shrink mx-4 text-gray-500 dark:text-gray-400 fw-bold">
{tCommon("or")}
</span>
<div className="flex-grow border-t border-gray-300 dark:border-gray-700"></div>
</div>
<div className="mb-4">
<Button
type="button"
label={t("redeem_lnurl")}
fullWidth
onClick={() => {
navigate("/lnurlRedeem");
}}
/>
</div>
{isAlbyUser && (
<div className="mb-4">
<Button
type="button"
Expand All @@ -311,9 +310,9 @@ function Receive() {
}}
/>
</div>
</Container>
</div>
)}
)}
</Container>
</div>
</div>
)}
</div>
Expand Down

0 comments on commit 3d1fd82

Please sign in to comment.