diff --git a/views/Settings/LightningAddress/LightningAddressSettings.tsx b/views/Settings/LightningAddress/LightningAddressSettings.tsx index 3de878655..9b6f3a657 100644 --- a/views/Settings/LightningAddress/LightningAddressSettings.tsx +++ b/views/Settings/LightningAddress/LightningAddressSettings.tsx @@ -72,7 +72,10 @@ export default class LightningAddressSettings extends React.Component< : false, nostrPrivateKey: settings.lightningAddress?.nostrPrivateKey || '', nostrRelays: settings.lightningAddress?.nostrRelays || [], - notifications: settings.lightningAddress?.notifications || 1 + notifications: + settings.lightningAddress?.notifications !== undefined + ? settings.lightningAddress.notifications + : 1 }); } @@ -106,7 +109,11 @@ export default class LightningAddressSettings extends React.Component< } }} rightComponent={ - loading ? : <> + loading ? ( + + + + ) : undefined } navigation={navigation} />