Skip to content

Commit

Permalink
Update Breez-Translations dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
erdemyerebasmaz committed May 8, 2024
1 parent 0b025c4 commit de61eb4
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 82 deletions.
9 changes: 4 additions & 5 deletions lib/routes/create_invoice/create_invoice_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -477,25 +477,24 @@ class CreateInvoicePageState extends State<CreateInvoicePage> {
);

if (connected && showMinFeeMessage) {
return texts.invoice_ln_address_warning_with_min_fee_account_connected(
return texts.invoice_lightning_warning_with_min_fee_account_connected(
setUpFee,
minFeeFormatted,
liquidity,
);
} else if (connected && !showMinFeeMessage) {
return texts.invoice_ln_address_warning_without_min_fee_account_connected(
return texts.invoice_lightning_warning_without_min_fee_account_connected(
setUpFee,
liquidity,
);
} else if (!connected && showMinFeeMessage) {
return texts
.invoice_ln_address_warning_with_min_fee_account_not_connected(
return texts.invoice_lightning_warning_with_min_fee_account_not_connected(
setUpFee,
minFeeFormatted,
);
} else {
return texts
.invoice_ln_address_warning_without_min_fee_account_not_connected(
.invoice_lightning_warning_without_min_fee_account_not_connected(
setUpFee,
);
}
Expand Down
8 changes: 4 additions & 4 deletions lib/widgets/lsp_fee.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,24 +55,24 @@ String _formatFeeMessage(
final liquidity = acc.currency.format(acc.maxInboundLiquidity);

if (connected && showMinFeeMessage) {
return texts.invoice_ln_address_warning_with_min_fee_account_connected(
return texts.invoice_lightning_warning_with_min_fee_account_connected(
setUpFee,
minFeeFormatted,
liquidity,
);
} else if (connected && !showMinFeeMessage) {
return texts.invoice_ln_address_warning_without_min_fee_account_connected(
return texts.invoice_lightning_warning_without_min_fee_account_connected(
setUpFee,
liquidity,
);
} else if (!connected && showMinFeeMessage) {
return texts.invoice_ln_address_warning_with_min_fee_account_not_connected(
return texts.invoice_lightning_warning_with_min_fee_account_not_connected(
setUpFee,
minFeeFormatted,
);
} else {
return texts
.invoice_ln_address_warning_without_min_fee_account_not_connected(
.invoice_lightning_warning_without_min_fee_account_not_connected(
setUpFee,
);
}
Expand Down
Loading

0 comments on commit de61eb4

Please sign in to comment.