diff --git a/models/Invoice.ts b/models/Invoice.ts index 03e9dd369..3978ac8a5 100644 --- a/models/Invoice.ts +++ b/models/Invoice.ts @@ -268,7 +268,7 @@ export default class Invoice extends BaseModel { } @computed public get isZeusPay(): boolean { - if (this.getMemo?.startsWith('ZEUS PAY')) return true; + if (this.getMemo?.toLowerCase().startsWith('zeus pay')) return true; return false; } diff --git a/stores/LightningAddressStore.ts b/stores/LightningAddressStore.ts index 8555e76c9..9c610ba5f 100644 --- a/stores/LightningAddressStore.ts +++ b/stores/LightningAddressStore.ts @@ -933,7 +933,7 @@ export default class LightningAddressStore { ); const fireLocalNotification = () => { - const title = 'ZEUS PAY payment received!'; + const title = 'ZEUS Pay payment received!'; const body = `Payment of ${value_commas} sats automatically accepted`; if (Platform.OS === 'android') { Notifications.postLocalNotification({ @@ -955,7 +955,7 @@ export default class LightningAddressStore { // 24 hrs expiry: '86400', value_msat: amount_msat, - memo: comment ? `ZEUS PAY: ${comment}` : 'ZEUS PAY', + memo: comment ? `ZEUS Pay: ${comment}` : 'ZEUS Pay', preimage, private: this.settingsStore?.settings?.lightningAddress diff --git a/views/Settings/LightningAddress/LightningAddressInfo.tsx b/views/Settings/LightningAddress/LightningAddressInfo.tsx index 8c8b8e700..0cbf33c62 100644 --- a/views/Settings/LightningAddress/LightningAddressInfo.tsx +++ b/views/Settings/LightningAddress/LightningAddressInfo.tsx @@ -170,7 +170,7 @@ export default class LightningAddressInfo extends React.Component< > {localeString( 'views.Settings.LightningAddressInfo.pressToRedeem' - )} + ).replace('ZEUS PAY', 'ZEUS Pay')}